[PATCH 1/1] STA: Request new scan only for the original interface

Jithu Jance jithu at broadcom.com
Thu Oct 17 06:41:04 EDT 2013


Request new scan only for the interface for which the original
scan request & results has come. Otherwise while sharing scan
results along with P2P interfaces, the new scan will
be requested on P2P interfaces.

Signed-hostap: Jithu Jance <jithu at broadcom.com>
---
 wpa_supplicant/events.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 8284b4f..455371f 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -1275,7 +1275,7 @@ static int _wpa_supplicant_event_scan_results(struct wpa_supplicant *wpa_s,

 	wpa_scan_results_free(scan_res);

-	return wpas_select_network_from_last_scan(wpa_s, 1);
+	return wpas_select_network_from_last_scan(wpa_s, own_request);
 }


--
1.7.9.5




More information about the HostAP mailing list