From 9de46dc084ba6382d4ab3b4b08536828c0e4a182 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 83270e81ab..b46b5dbb46 100644 --- a/components/esp_hw_support/modem_clock.c +++ b/components/esp_hw_support/modem_clock.c @@ -456,7 +456,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;