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

login
register
mail settings
Submitter Jithu Jance
Date Feb. 4, 2014, 9:09 a.m.
Message ID <4b19dee4cc4140cde4074259ce93489280adbcf1.1391502949.git.jithu@broadcom.com>
Download mbox | patch
Permalink /patch/316501/
State Superseded
Headers show

Comments

Jithu Jance - Feb. 4, 2014, 9:09 a.m.
Signed-hostap: Jithu Jance <jithu@broadcom.com>
---
 src/p2p/p2p_sd.c |    1 +
 1 file changed, 1 insertion(+)

--
1.7.9.5

Patch

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;
 }