mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
WPS: Fix shorter authentication timeout during no-SelReg iteration
Commit 5add410162
('WPS: Use shorter
authentication timeout during no-SelReg iteration') added a new
condition on reducing the authentication timeout for the WPS AP
iteration process. However, due it ended up copy-pasting an incorrect
condition for this. This was supposed to apply for PIN-based config
method advertisement, not PBC.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
346517674a
commit
0ef1e290ab
@ -3098,7 +3098,8 @@ void wpa_supplicant_rx_eapol(void *ctx, const u8 *src_addr,
|
||||
|
||||
wps_ie = wpa_bss_get_vendor_ie_multi(
|
||||
wpa_s->current_bss, WPS_IE_VENDOR_TYPE);
|
||||
if (wps_ie && !wps_is_selected_pbc_registrar(wps_ie))
|
||||
if (wps_ie &&
|
||||
!wps_is_addr_authorized(wps_ie, wpa_s->own_addr, 1))
|
||||
timeout = 10;
|
||||
wpabuf_free(wps_ie);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user