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 b9e8e0ef4e
commit a844799d82
2 changed files with 2 additions and 1 deletions

View File

@ -134,6 +134,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();