aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/scan.c
diff options
context:
space:
mode:
authorSunil Dutt <usdutt@qti.qualcomm.com>2016-11-30 04:34:38 (GMT)
committerJouni Malinen <j@w1.fi>2016-11-30 17:33:39 (GMT)
commiteeb34a432e183003f0651da55ff2a64b609b6988 (patch)
tree75f1bd3568f89e3113522ffd02dbe0c9a5f1bb8e /wpa_supplicant/scan.c
parent1a793f5c2b43c58e19dac9550a672533865baf35 (diff)
downloadhostap-eeb34a432e183003f0651da55ff2a64b609b6988.zip
hostap-eeb34a432e183003f0651da55ff2a64b609b6988.tar.gz
hostap-eeb34a432e183003f0651da55ff2a64b609b6988.tar.bz2
nl80211: Enhance abort scan to also abort the vendor scan
This commit enhances the abort scan implementation to also abort the vendor scan, if one was used to trigger the scan. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/scan.c')
-rw-r--r--wpa_supplicant/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c
index 5698443..8d0986c 100644
--- a/wpa_supplicant/scan.c
+++ b/wpa_supplicant/scan.c
@@ -2633,7 +2633,7 @@ int wpas_abort_ongoing_scan(struct wpa_supplicant *wpa_s)
if (scan_work && wpa_s->own_scan_running) {
wpa_dbg(wpa_s, MSG_DEBUG, "Abort an ongoing scan");
- return wpa_drv_abort_scan(wpa_s);
+ return wpa_drv_abort_scan(wpa_s, 0);
}
return 0;