mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/fix_wifi_deinit_s_wifi_modem_sleep_lock' into 'master'
fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock See merge request espressif/esp-idf!27450
This commit is contained in:
commit
145d40a120
@ -145,6 +145,7 @@ static esp_err_t wifi_deinit_internal(void)
|
||||
#ifdef CONFIG_PM_ENABLE
|
||||
if (s_wifi_modem_sleep_lock) {
|
||||
esp_pm_lock_delete(s_wifi_modem_sleep_lock);
|
||||
s_wifi_modem_sleep_lock = NULL;
|
||||
}
|
||||
#endif
|
||||
esp_wifi_power_domain_off();
|
||||
|
Loading…
Reference in New Issue
Block a user