mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
fix(wifi): fix bug in 'esp_wifi_deauthenticate_internal' and other improvements
This commit is contained in:
Submodule components/esp_wifi/lib updated: 36c438563e...1d8de29af0
@@ -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,
|
||||||
|
Reference in New Issue
Block a user