[PATCH] P2P: clear driver Probe Response IE on stop_listen

Johannes Berg johannes
Thu Dec 2 07:03:39 PST 2010


From: Johannes Berg <johannes.berg at intel.com>

Signed-off-by: Johannes Berg <johannes.berg at intel.com>
---
it seems like we should do this, but I'm not familiar with any driver
that'd require it ...

--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -1176,6 +1176,7 @@ static void wpas_stop_listen(void *ctx)
 		wpa_s->off_channel_freq = 0;
 		wpa_s->roc_waiting_drv_freq = 0;
 	}
+	wpa_drv_set_ap_wps_ie(wpa_s, NULL, NULL, NULL);
 	wpa_drv_probe_req_report(wpa_s, 0);
 }
 





More information about the Hostap mailing list