fix(esp_wifi): fix the issue of station fail to connect to softap caused by abnormal rf flag signal

This commit is contained in:
Li Shuai 2024-08-27 13:20:40 +08:00
parent 53fef80656
commit e388ab3240
2 changed files with 3 additions and 1 deletions

View File

@ -301,6 +301,8 @@ void esp_phy_disable(esp_phy_modem_t modem)
phy_digital_regs_store();
#endif
#if SOC_PM_SUPPORT_PMU_MODEM_STATE && CONFIG_ESP_WIFI_ENHANCED_LIGHT_SLEEP
extern void pm_mac_modem_clear_rf_power_state(void);
pm_mac_modem_clear_rf_power_state();
if (sleep_modem_wifi_modem_state_enabled()) {
sleep_modem_wifi_do_phy_retention(false);
} else

@ -1 +1 @@
Subproject commit 99f27322398810dec4bdacca5d1d47aee85fb368
Subproject commit cf8d44d37c1bb9ffb37d855a05b069bddfb6a551