forked from espressif/esp-idf
fix(esp_wifi): fix the issue of station fail to connect to softap caused by abnormal rf flag signal
This commit is contained in:
@ -313,6 +313,8 @@ void esp_phy_disable(esp_phy_modem_t modem)
|
|||||||
phy_digital_regs_store();
|
phy_digital_regs_store();
|
||||||
#endif
|
#endif
|
||||||
#if SOC_PM_SUPPORT_PMU_MODEM_STATE && CONFIG_ESP_WIFI_ENHANCED_LIGHT_SLEEP
|
#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()) {
|
if (sleep_modem_wifi_modem_state_enabled()) {
|
||||||
sleep_modem_wifi_do_phy_retention(false);
|
sleep_modem_wifi_do_phy_retention(false);
|
||||||
} else
|
} else
|
||||||
|
Submodule components/esp_wifi/lib updated: 928e6cc71b...67719288d8
Reference in New Issue
Block a user