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
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue