Skip to content

Commit 24d122e

Browse files
esp-lissibeibei
authored andcommitted
fix(esp_wifi): fix the issue of station fail to connect to softap caused by abnormal rf flag signal
1 parent a7c3e8b commit 24d122e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/esp_phy/src/phy_init.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,8 @@ void esp_phy_disable(esp_phy_modem_t modem)
313313
phy_digital_regs_store();
314314
#endif
315315
#if SOC_PM_SUPPORT_PMU_MODEM_STATE && CONFIG_ESP_WIFI_ENHANCED_LIGHT_SLEEP
316+
extern void pm_mac_modem_clear_rf_power_state(void);
317+
pm_mac_modem_clear_rf_power_state();
316318
if (sleep_modem_wifi_modem_state_enabled()) {
317319
sleep_modem_wifi_do_phy_retention(false);
318320
} else

0 commit comments

Comments
 (0)