From ae74ecea25705ce5f26125e6fb7267b1f901e5ee Mon Sep 17 00:00:00 2001 From: liuning Date: Mon, 31 Jul 2023 21:15:13 +0800 Subject: [PATCH] fix(pm): wifi 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 51acc21b70..c8d2790c1d 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 51acc21b70a1fff3ea341cb3041fb1daafb9ea2c +Subproject commit c8d2790c1d5c27a45e131337abf978181af03e88 diff --git a/components/esp_wifi/src/wifi_init.c b/components/esp_wifi/src/wifi_init.c index 37446c0293..8832d1f36d 100644 --- a/components/esp_wifi/src/wifi_init.c +++ b/components/esp_wifi/src/wifi_init.c @@ -143,6 +143,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();