projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
370cb2a
)
WPS: Use blacklist more aggressively during WPS provisioning
author
Jouni Malinen
<jouni.malinen@atheros.com>
Wed, 22 Sep 2010 18:50:15 +0000
(11:50 -0700)
committer
Jouni Malinen
<j@w1.fi>
Wed, 22 Sep 2010 18:50:15 +0000
(11:50 -0700)
This allows more APs to be tried during the WPS timeout.
wpa_supplicant/events.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/events.c
b/wpa_supplicant/events.c
index
b0e1d3b
..
dfded7d
100644
(file)
--- a/
wpa_supplicant/events.c
+++ b/
wpa_supplicant/events.c
@@
-463,6
+463,11
@@
static struct wpa_ssid * wpa_scan_res_match(struct wpa_supplicant *wpa_s,
}
#ifdef CONFIG_WPS
+ if ((ssid->key_mgmt & WPA_KEY_MGMT_WPS) && e && e->count > 0) {
+ wpa_printf(MSG_DEBUG, " skip - blacklisted (WPS)");
+ continue;
+ }
+
if (wpa && ssid->ssid_len == 0 &&
wpas_wps_ssid_wildcard_ok(wpa_s, ssid, bss))
check_ssid = 0;