Skip to content

Commit

Permalink
Merge branch 'bugfix/pm-165_v5.2' into 'release/v5.2'
Browse files Browse the repository at this point in the history
backport v5.2: fix the issue of station fail to connect to softap caused by abnormal rf flag signal

See merge request espressif/esp-idf!33104
  • Loading branch information
jack0c committed Aug 27, 2024
2 parents 9fa101c + e388ab3 commit 43098fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions components/esp_phy/src/phy_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 43098fc

Please sign in to comment.