mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-20 02:53:03 -05:00
WPS: Cancel WPS operation on PBC session overlap detection
Previously, wpa_supplicant remaining in scanning state without trying to connect, but there is no particular need to do that. Instead, cancel WPS operation completely whenever PBC session overlap is detected.
This commit is contained in:
parent
3d32c6517d
commit
7736f18bef
@ -627,7 +627,7 @@ void wpa_supplicant_connect(struct wpa_supplicant *wpa_s,
|
||||
if (wpas_p2p_notif_pbc_overlap(wpa_s) == 1)
|
||||
return;
|
||||
#endif /* CONFIG_P2P */
|
||||
wpa_supplicant_req_new_scan(wpa_s, 10, 0);
|
||||
wpas_wps_cancel(wpa_s);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user