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:
f9f0526
)
WPS: Allow AP that becomes active be tried immediately
author
Jouni Malinen
<jouni@qca.qualcomm.com>
Mon, 27 Aug 2012 10:51:35 +0000
(13:51 +0300)
committer
Jouni Malinen
<j@w1.fi>
Mon, 27 Aug 2012 10:51:35 +0000
(13:51 +0300)
Clear the possible blacklisting of a WPS AP during WPS PIN iteration if
the AP moves to selected registrar TRUE state or if it adds our MAC
address to the list of authorized MACs.
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wps_supplicant.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/wps_supplicant.c
b/wpa_supplicant/wps_supplicant.c
index
3bb5427
..
23966b8
100644
(file)
--- a/
wpa_supplicant/wps_supplicant.c
+++ b/
wpa_supplicant/wps_supplicant.c
@@
-2010,6
+2010,8
@@
static void wpas_wps_update_ap_info_bss(struct wpa_supplicant *wpa_s,
" changed type %d -> %d",
MAC2STR(res->bssid), ap->type, type);
ap->type = type;
+ if (type != WPS_AP_NOT_SEL_REG)
+ wpa_blacklist_del(wpa_s, ap->bssid);
}
return;
}