Merge branch 'bugfix/Add_wifi_stop_check_in_deinit_entry' into 'master'

esp_wifi: Add wifi stop check at wifi deinit entry

Closes WIFI-1671

See merge request espressif/esp-idf!7800
This commit is contained in:
Jiang Jiang Jian 2020-03-03 12:33:05 +08:00
commit e8ca5e6f21
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit 8aab0ad4389874f717c9b626502c9f8f1074fd60
Subproject commit 28eee97ed6d7595375aa029ccbf05ce849d046f8

View File

@ -115,6 +115,7 @@ esp_err_t esp_wifi_deinit(void)
err = esp_wifi_deinit_internal();
if (err != ESP_OK) {
ESP_LOGE(TAG, "Failed to deinit Wi-Fi driver (0x%x)", err);
return err;
}
#if CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER