mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-21 00:48:14 +00:00
fix(wifi): Fix wrong wifi reason codes reported on station and softAP
- Fix wrong reason code reported when softAP issues a disconnect for station - Fix wrong reason code reported when association timeout happens at station - Deprecate enums WIFI_REASON_ASSOC_EXPIRE, WIFI_REASON_NOT_AUTHED, WIFI_REASON_NOT_ASSOCED and use WIFI_REASON_DISASSOC_DUE_TO_INACTIVITY, WIFI_REASON_CLASS2_FRAME_FROM_NONAUTH_STA, WIFI_REASON_CLASS3_FRAME_FROM_NONASSOC_STA respectively - Update wifi documentation related to reason codes
This commit is contained in:
@@ -287,8 +287,8 @@ static void wpa_sta_disconnected_cb(uint8_t reason_code)
|
||||
{
|
||||
switch (reason_code) {
|
||||
case WIFI_REASON_AUTH_EXPIRE:
|
||||
case WIFI_REASON_NOT_AUTHED:
|
||||
case WIFI_REASON_NOT_ASSOCED:
|
||||
case WIFI_REASON_CLASS2_FRAME_FROM_NONAUTH_STA:
|
||||
case WIFI_REASON_CLASS3_FRAME_FROM_NONASSOC_STA:
|
||||
case WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT:
|
||||
case WIFI_REASON_INVALID_PMKID:
|
||||
case WIFI_REASON_AUTH_FAIL:
|
||||
|
Reference in New Issue
Block a user