mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
DPP2: Do not allow reconfiguration to be started with pending auth
The pending authentication exchange will make us ignore Reconfig Authentication Request, so do not allow reconfiguration to be started in that state. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
d93df9989f
commit
a7ae422961
@ -3620,6 +3620,12 @@ int wpas_dpp_reconfig(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
|
|||||||
!ssid->dpp_csign)
|
!ssid->dpp_csign)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
if (wpa_s->dpp_auth) {
|
||||||
|
wpa_printf(MSG_DEBUG,
|
||||||
|
"DPP: Not ready to start reconfiguration - pending authentication exchange in progress");
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
wpas_dpp_chirp_stop(wpa_s);
|
wpas_dpp_chirp_stop(wpa_s);
|
||||||
wpa_s->dpp_allowed_roles = DPP_CAPAB_ENROLLEE;
|
wpa_s->dpp_allowed_roles = DPP_CAPAB_ENROLLEE;
|
||||||
wpa_s->dpp_qr_mutual = 0;
|
wpa_s->dpp_qr_mutual = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user