projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2e7cfc
)
Abort ongoing scans on FLUSH command
author
Jouni Malinen
<j@w1.fi>
Thu, 26 Nov 2015 23:09:42 +0000
(
01:09
+0200)
committer
Jouni Malinen
<j@w1.fi>
Thu, 26 Nov 2015 23:09:42 +0000
(
01:09
+0200)
This may speed up some hwsim test case sequencies by avoiding a wait for
a scan at the end of a test case to complete.
Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/ctrl_iface.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/ctrl_iface.c
b/wpa_supplicant/ctrl_iface.c
index
cfbc225
..
7b45a3a
100644
(file)
--- a/
wpa_supplicant/ctrl_iface.c
+++ b/
wpa_supplicant/ctrl_iface.c
@@
-6862,6
+6862,8
@@
static void wpa_supplicant_ctrl_iface_flush(struct wpa_supplicant *wpa_s)
wpa_dbg(wpa_s, MSG_DEBUG, "Flush all wpa_supplicant state");
+ wpas_abort_ongoing_scan(wpa_s);
+
#ifdef CONFIG_P2P
wpas_p2p_cancel(p2p_wpa_s);
p2p_ctrl_flush(p2p_wpa_s);