projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84992a8
)
WPS: support registration with APs in WEP security mode
author
Andriy Tkachuk
<andriy.v.tkachuk@globallogic.com>
Tue, 17 Feb 2009 08:17:24 +0000
(10:17 +0200)
committer
Jouni Malinen
<j@w1.fi>
Tue, 17 Feb 2009 08:17:24 +0000
(10:17 +0200)
Attached patch fixes the issue when supplicant does not select APs in
WEP security mode for WPS registration.
wpa_supplicant/events.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/events.c
b/wpa_supplicant/events.c
index
703106c
..
cd5928e
100644
(file)
--- a/
wpa_supplicant/events.c
+++ b/
wpa_supplicant/events.c
@@
-252,6
+252,11
@@
static int wpa_supplicant_match_privacy(struct wpa_scan_res *bss,
if (ssid->mixed_cell)
return 1;
+#ifdef CONFIG_WPS
+ if (ssid->key_mgmt & WPA_KEY_MGMT_WPS)
+ return 1;
+#endif /* CONFIG_WPS */
+
for (i = 0; i < NUM_WEP_KEYS; i++) {
if (ssid->wep_key_len[i]) {
privacy = 1;