Merge branch 'bugfix/fix_deinit_return_ok_when_wifi_no_longer_initialized_issue' into 'master'

esp_wifi: fix deinit return wrong value.

Closes IDFGH-7037, IDFGH-7475, and DOC-3220

See merge request espressif/esp-idf!18445
This commit is contained in:
Chen Jian Xing 2022-08-03 11:41:20 +08:00
commit 804bdc1721
2 changed files with 2 additions and 2 deletions

View File

@ -337,7 +337,7 @@ esp_err_t esp_wifi_restore(void);
*
* @attention 1. This API only impact WIFI_MODE_STA or WIFI_MODE_APSTA mode
* @attention 2. If the ESP32 is connected to an AP, call esp_wifi_disconnect to disconnect.
* @attention 3. The scanning triggered by esp_wifi_start_scan() will not be effective until connection between ESP32 and the AP is established.
* @attention 3. The scanning triggered by esp_wifi_scan_start() will not be effective until connection between ESP32 and the AP is established.
* If ESP32 is scanning and connecting at the same time, ESP32 will abort scanning and return a warning message and error
* number ESP_ERR_WIFI_STATE.
* If you want to do reconnection after ESP32 received disconnect event, remember to add the maximum retry time, otherwise the called

@ -1 +1 @@
Subproject commit 5c8283f629dc4290921ef66837003d4a72b2ca72
Subproject commit 304228b9c99f8ae25a9aba65533cc6434586596e