WPS: Use shorter scan interval during pre-provisioning search
Previously, the shorter scan interval was already in use for the connection following the provisioning step, but same optimization can also be used for the pre-provisioning scan. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
3187fd900d
commit
538d6f4b54
1 changed files with 1 additions and 1 deletions
|
@ -1396,7 +1396,7 @@ static int wpas_select_network_from_last_scan(struct wpa_supplicant *wpa_s,
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_INTERWORKING */
|
#endif /* CONFIG_INTERWORKING */
|
||||||
#ifdef CONFIG_WPS
|
#ifdef CONFIG_WPS
|
||||||
if (wpa_s->after_wps > 0) {
|
if (wpa_s->after_wps > 0 || wpas_wps_searching(wpa_s)) {
|
||||||
wpa_dbg(wpa_s, MSG_DEBUG, "Use shorter wait during WPS processing");
|
wpa_dbg(wpa_s, MSG_DEBUG, "Use shorter wait during WPS processing");
|
||||||
timeout_sec = 0;
|
timeout_sec = 0;
|
||||||
timeout_usec = 500000;
|
timeout_usec = 500000;
|
||||||
|
|
Loading…
Reference in a new issue