mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
fix(wifi): fix bug in 'esp_wifi_deauthenticate_internal' and other improvements
This commit is contained in:
parent
61a91afa3a
commit
9efdcd52cc
@ -1 +1 @@
|
||||
Subproject commit e0ee52e2b664695bbf8d027ea11685f153618745
|
||||
Subproject commit 5cebf92b398440266977440db81b0315831aeb41
|
@ -1357,8 +1357,7 @@ SM_STATE(WPA_PTK, AUTHENTICATION2)
|
||||
if (os_get_random(sm->ANonce, WPA_NONCE_LEN)) {
|
||||
wpa_printf( MSG_ERROR, "WPA: Failed to get random data for "
|
||||
"ANonce.");
|
||||
wpa_sta_disconnect(sm->wpa_auth, sm->addr,
|
||||
WLAN_REASON_4WAY_HANDSHAKE_TIMEOUT);
|
||||
sm->Disconnect = true;
|
||||
return;
|
||||
}
|
||||
wpa_hexdump(MSG_DEBUG, "WPA: Assign ANonce", sm->ANonce,
|
||||
|
Loading…
x
Reference in New Issue
Block a user