[PATCH 2/2] P2P: Fix regression seen with Service Discovery

Jithu Jance jithu
Tue Feb 4 01:09:41 PST 2014


Signed-hostap: Jithu Jance <jithu at broadcom.com>
---
 src/p2p/p2p_sd.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/p2p/p2p_sd.c b/src/p2p/p2p_sd.c
index 6dd10e8..20865fe 100644
--- a/src/p2p/p2p_sd.c
+++ b/src/p2p/p2p_sd.c
@@ -145,6 +145,7 @@ void p2p_free_sd_queries(struct p2p_data *p2p)
 		q = q->next;
 		p2p_free_sd_query(prev);
 	}
+	p2p->num_p2p_sd_queries = 0;
 }


--
1.7.9.5




More information about the Hostap mailing list