From 541632c555cd9a61c3de632a06429301ae9573f7 Mon Sep 17 00:00:00 2001 From: Li Shuai Date: Thu, 16 May 2024 11:32:32 +0800 Subject: [PATCH] fix(wifi): fix the issue where deinit ble in a coexist scenario causes the wifi mac tsf counter to stop --- components/esp_hw_support/modem_clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_hw_support/modem_clock.c b/components/esp_hw_support/modem_clock.c index 18c1243a38..1d155f0367 100644 --- a/components/esp_hw_support/modem_clock.c +++ b/components/esp_hw_support/modem_clock.c @@ -446,7 +446,7 @@ void modem_clock_deselect_lp_clock_source(periph_module_t module) pmu_sleep_enable_hp_sleep_sysclk(false); } modem_clock_hal_enable_wifipwr_clock(MODEM_CLOCK_instance()->hal, false); - modem_clock_domain_clk_gate_enable(MODEM_CLOCK_DOMAIN_WIFI, PMU_HP_ICG_MODEM_CODE_SLEEP); + modem_clock_domain_clk_gate_enable(MODEM_CLOCK_DOMAIN_WIFIPWR, PMU_HP_ICG_MODEM_CODE_SLEEP); } #endif break;