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:
24d110d
)
WPS NFC: Cancel scheduled scan before attempting a scan
author
Jithu Jance
<jithu@broadcom.com>
Mon, 14 Oct 2013 17:42:27 +0000
(20:42 +0300)
committer
Jouni Malinen
<j@w1.fi>
Mon, 14 Oct 2013 17:42:27 +0000
(20:42 +0300)
Cancel scheduled scan (if any) before attempting to scan for the newly
received configuration/credential in WPS NFC Config token case.
Signed-hostap: Jithu Jance <jithu@broadcom.com>
wpa_supplicant/wps_supplicant.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/wps_supplicant.c
b/wpa_supplicant/wps_supplicant.c
index
f6c2fcb
..
a2b941c
100644
(file)
--- a/
wpa_supplicant/wps_supplicant.c
+++ b/
wpa_supplicant/wps_supplicant.c
@@
-2174,6
+2174,8
@@
static int wpas_wps_use_cred(struct wpa_supplicant *wpa_s,
}
wpa_s->disconnected = 0;
wpa_s->reassociate = 1;
+
+ wpa_supplicant_cancel_sched_scan(wpa_s);
wpa_supplicant_req_scan(wpa_s, 0, 0);
return 0;