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

This commit is contained in:
liuning
2023-07-31 21:15:13 +08:00
parent 947085b7c4
commit ae74ecea25
2 changed files with 2 additions and 1 deletions

View File

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