mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/fix_softap_wpa3_loop' into 'master'
Fix infinite loop in PMK mismatch case in WPA3 SoftAP Closes WIFI-5627 See merge request espressif/esp-idf!22954
This commit is contained in:
commit
74c151df44
@ -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…
Reference in New Issue
Block a user