fix(wifi): fix bug in 'esp_wifi_deauthenticate_internal' and other improvements

This commit is contained in:
Sarvesh Bodakhe 2023-11-15 08:27:49 +05:30
parent 2d83e3e7f4
commit b42e14c9b7
2 changed files with 2 additions and 3 deletions

@ -1 +1 @@
Subproject commit 5b70cdbe16fe862925a50f9a5a251e7aa4b69f43 Subproject commit 6d324abd923bf4895099680956c817e63005ce4f

View File

@ -1443,8 +1443,7 @@ SM_STATE(WPA_PTK, AUTHENTICATION2)
if (os_get_random(sm->ANonce, WPA_NONCE_LEN)) { if (os_get_random(sm->ANonce, WPA_NONCE_LEN)) {
wpa_printf( MSG_ERROR, "WPA: Failed to get random data for " wpa_printf( MSG_ERROR, "WPA: Failed to get random data for "
"ANonce."); "ANonce.");
wpa_sta_disconnect(sm->wpa_auth, sm->addr, sm->Disconnect = true;
WLAN_REASON_4WAY_HANDSHAKE_TIMEOUT);
return; return;
} }
wpa_hexdump(MSG_DEBUG, "WPA: Assign ANonce", sm->ANonce, wpa_hexdump(MSG_DEBUG, "WPA: Assign ANonce", sm->ANonce,