[PATCH] Add wpa_supplicant_notify_scanning() if scan is canceled

Dmitry Shmidt dimitrysh at google.com
Fri Feb 26 13:43:06 EST 2010


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 56f062f..1da32c8 100644
--- a/wpa_supplicant/scan.c
+++ b/wpa_supplicant/scan.c
@@ -425,6 +425,7 @@ void wpa_supplicant_cancel_scan(struct wpa_supplicant
*wpa_s)
 {
     wpa_msg(wpa_s, MSG_DEBUG, "Cancelling scan request");
     eloop_cancel_timeout(wpa_supplicant_scan, wpa_s, NULL);
+    wpa_supplicant_notify_scanning(wpa_s, 0);
 }


-- 
1.6.2.2

--000e0cd17e7cc595450480855a5e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,<br><br>There is a situation when scan was scheduled but during associat=
ion it was canceled.<br>And we need to change wpa_s-&gt;scanning var and no=
tify network manager.<br>--------------------------------------------------=
-------------------------------------------------------------<br>


More information about the HostAP mailing list