From a844799d82b23f2988525f78c7fc26af166c5cac Mon Sep 17 00:00:00 2001 From: liuning Date: Mon, 31 Jul 2023 21:15:13 +0800 Subject: [PATCH] fix(esp_wifi): fix no mac retention at wifi start --- components/esp_wifi/lib | 2 +- components/esp_wifi/src/wifi_init.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index dd70ee5d91..494b0db24f 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit dd70ee5d915030f8551d3c86e310ca799de839c1 +Subproject commit 494b0db24fb3b0ed2770768be9196d79c12a35f3 diff --git a/components/esp_wifi/src/wifi_init.c b/components/esp_wifi/src/wifi_init.c index bc831e46a6..a2dddd8da2 100644 --- a/components/esp_wifi/src/wifi_init.c +++ b/components/esp_wifi/src/wifi_init.c @@ -134,6 +134,7 @@ esp_err_t esp_wifi_deinit(void) #endif esp_wifi_power_domain_off(); #if CONFIG_MAC_BB_PD + esp_wifi_internal_set_mac_sleep(false); esp_mac_bb_pd_mem_deinit(); #endif esp_phy_modem_deinit();