mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-29 20:34:36 +00:00 
			
		
		
		
	fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock
This commit is contained in:
		| @@ -145,6 +145,7 @@ static esp_err_t wifi_deinit_internal(void) | |||||||
| #ifdef CONFIG_PM_ENABLE | #ifdef CONFIG_PM_ENABLE | ||||||
|     if (s_wifi_modem_sleep_lock) { |     if (s_wifi_modem_sleep_lock) { | ||||||
|         esp_pm_lock_delete(s_wifi_modem_sleep_lock); |         esp_pm_lock_delete(s_wifi_modem_sleep_lock); | ||||||
|  |         s_wifi_modem_sleep_lock = NULL; | ||||||
|     } |     } | ||||||
| #endif | #endif | ||||||
|     esp_wifi_power_domain_off(); |     esp_wifi_power_domain_off(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 liuning
					liuning