From: Jouni Malinen Date: Mon, 27 Aug 2012 10:51:35 +0000 (+0300) Subject: WPS: Allow AP that becomes active be tried immediately X-Git-Tag: hostap_2_0~319 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a462036a47dd8e8566b6d78c1290611c61585f2c;p=thirdparty%2Fhostap.git WPS: Allow AP that becomes active be tried immediately 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 --- diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c index 3bb542757..23966b866 100644 --- 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; }