esp32: add one disconnect fail reason 206

If the esp_wifi_disconnect() is called during connecting scan, raise
disconnect event and the reason code is 206.
This commit is contained in:
liu zhifu
2020-04-20 22:11:12 +08:00
committed by maojianxin
parent 964245dcd1
commit a4a15aa179
2 changed files with 2 additions and 1 deletions

View File

@ -93,6 +93,7 @@ typedef enum {
WIFI_REASON_ASSOC_FAIL = 203, WIFI_REASON_ASSOC_FAIL = 203,
WIFI_REASON_HANDSHAKE_TIMEOUT = 204, WIFI_REASON_HANDSHAKE_TIMEOUT = 204,
WIFI_REASON_CONNECTION_FAIL = 205, WIFI_REASON_CONNECTION_FAIL = 205,
WIFI_REASON_SCAN_FAIL = 206,
} wifi_err_reason_t; } wifi_err_reason_t;
typedef enum { typedef enum {