[PATCH] Fix scan notification in case of canceling scan

Dmitry Shmidt dimitrysh at google.com
Fri Apr 8 18:35:17 EDT 2011


Signed-off-by: Dmitry Shmidt <dimitrysh at google.com>
---
 wpa_supplicant/scan.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c
index 4fb9bef..805ff80 100644
--- a/wpa_supplicant/scan.c
+++ b/wpa_supplicant/scan.c
@@ -529,6 +529,7 @@ void wpa_supplicant_cancel_scan(struct
wpa_supplicant *wpa_s)
 {
 	wpa_dbg(wpa_s, MSG_DEBUG, "Cancelling scan request");
 	eloop_cancel_timeout(wpa_supplicant_scan, wpa_s, NULL);
+	wpa_supplicant_notify_scanning(wpa_s, 0);
 }


-- 
1.7.3.1


More information about the HostAP mailing list