fix(esp_wifi): fix no mac retention at wifi start

This commit is contained in:
liuning
2023-07-31 21:15:13 +08:00
parent 2b18dd4899
commit 12b894fd5d
3 changed files with 3 additions and 2 deletions

View File

@@ -165,6 +165,7 @@ esp_err_t esp_wifi_deinit(void)
#endif
esp_wifi_power_domain_off();
#if CONFIG_MAC_BB_PD
esp_wifi_internal_set_mac_sleep(false);
esp_mac_bb_pd_mem_deinit();
#endif
esp_phy_modem_deinit();