mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
wpa_supplicant: Fix infinite loop in PMK mismatch case in WPA3 SoftAP
This commit is contained in:
parent
88390d5f02
commit
7ee27bc956
@ -1622,7 +1622,8 @@ SM_STATE(WPA_PTK, PTKCALCNEGOTIATING)
|
||||
wpa_printf( MSG_DEBUG, "mic verify fail, pmk=%p", pmk);
|
||||
}
|
||||
|
||||
if (!wpa_key_mgmt_wpa_psk(sm->wpa_key_mgmt)){
|
||||
if (!wpa_key_mgmt_wpa_psk(sm->wpa_key_mgmt) ||
|
||||
wpa_key_mgmt_sae(sm->wpa_key_mgmt)) {
|
||||
wpa_printf( MSG_DEBUG, "wpa_key_mgmt=%x", sm->wpa_key_mgmt);
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user