Merge branch 'bugfix/pm-165_v5.1' into 'release/v5.1'

backport v5.1: fix the issue of station fail to connect to softap caused by abnormal rf flag signal

See merge request espressif/esp-idf!33626
This commit is contained in:
Jiang Jiang Jian 2024-09-19 16:47:30 +08:00
commit ce64b50f77
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 57df960a1f6c51007df43b48d1a4a2b3633e9474
Subproject commit 9512ff958d96a7b387718b9b4ae0cd316de54f57