From 2396dc5ff70ae1ab25ee9f6608fddd0fbb0a7a0b 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 ec89c4bcf2..e4b1a29219 100644 --- a/components/esp_hw_support/modem_clock.c +++ b/components/esp_hw_support/modem_clock.c @@ -454,7 +454,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;