From: Jouni Malinen Date: Fri, 1 Nov 2013 10:47:53 +0000 (+0200) Subject: AOSP: Fix scan notification in case of canceling scan X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7ffd7c0f06a69df73fc09fbed4badfb16898e74;p=thirdparty%2Fhostap.git AOSP: Fix scan notification in case of canceling scan This is rebased version of this AOSP commit: commit 20df807cb700c516ff346732f1bc8f914d0d26d8 Author: Dmitry Shmidt Date: Fri Apr 8 15:35:17 2011 -0700 Fix scan notification in case of canceling scan Signed-off-by: Dmitry Shmidt --- diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c index e953c851e..786549154 100644 --- a/wpa_supplicant/scan.c +++ b/wpa_supplicant/scan.c @@ -1201,6 +1201,9 @@ 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); wpas_p2p_continue_after_scan(wpa_s); +#ifdef ANDROID + wpa_supplicant_notify_scanning(wpa_s, 0); +#endif }