mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/esp_wifi_deinit_v4.1' into 'release/v4.1'
esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped (v4.1) See merge request espressif/esp-idf!12541
This commit is contained in:
commit
ad93815681
@ -119,7 +119,7 @@ esp_err_t esp_wifi_deinit(void)
|
||||
|
||||
if (esp_wifi_get_user_init_flag_internal()) {
|
||||
ESP_LOGE(TAG, "Wi-Fi not stop");
|
||||
return ESP_FAIL;
|
||||
return ESP_ERR_WIFI_NOT_STOPPED;
|
||||
}
|
||||
|
||||
esp_supplicant_deinit();
|
||||
|
Loading…
Reference in New Issue
Block a user