From 9bd938d39a9bda1a9eb7b2da16e5b1afa2a80407 Mon Sep 17 00:00:00 2001 From: Li Shuai Date: Wed, 18 Sep 2024 21:06:10 +0800 Subject: [PATCH] fix(esp_wifi): fix the issue of station fail to connect to softap caused by abnormal rf flag signal --- components/esp_phy/src/phy_init.c | 2 ++ components/esp_wifi/lib | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/esp_phy/src/phy_init.c b/components/esp_phy/src/phy_init.c index e9a2645f37..0645cd49cc 100644 --- a/components/esp_phy/src/phy_init.c +++ b/components/esp_phy/src/phy_init.c @@ -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 diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 57df960a1f..9512ff958d 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 57df960a1f6c51007df43b48d1a4a2b3633e9474 +Subproject commit 9512ff958d96a7b387718b9b4ae0cd316de54f57