Longer auth_timeout for WPS key_mgmt
It seems that for WPS registration we should use the same authentication timeout as for ieee8021x, no? (See patch attached.) On slow platforms public keys computation may take around 4-5 seconds (we actually stuck on this issue).
This commit is contained in:
parent
c674a55d71
commit
a6f06dabb2
1 changed files with 2 additions and 1 deletions
|
@ -1498,7 +1498,8 @@ void wpa_supplicant_rx_eapol(void *ctx, const u8 *src_addr,
|
|||
wpa_supplicant_req_auth_timeout(
|
||||
wpa_s,
|
||||
(wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt) ||
|
||||
wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X_NO_WPA) ?
|
||||
wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X_NO_WPA ||
|
||||
wpa_s->key_mgmt == WPA_KEY_MGMT_WPS) ?
|
||||
70 : 10, 0);
|
||||
}
|
||||
wpa_s->eapol_received++;
|
||||
|
|
Loading…
Reference in a new issue