WPS: Use blacklist more aggressively during WPS provisioning
This allows more APs to be tried during the WPS timeout.
This commit is contained in:
parent
370cb2a9ce
commit
f648bc7d0d
1 changed files with 5 additions and 0 deletions
|
@ -463,6 +463,11 @@ static struct wpa_ssid * wpa_scan_res_match(struct wpa_supplicant *wpa_s,
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_WPS
|
#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 &&
|
if (wpa && ssid->ssid_len == 0 &&
|
||||||
wpas_wps_ssid_wildcard_ok(wpa_s, ssid, bss))
|
wpas_wps_ssid_wildcard_ok(wpa_s, ssid, bss))
|
||||||
check_ssid = 0;
|
check_ssid = 0;
|
||||||
|
|
Loading…
Reference in a new issue