fix(wifi): fix the issue where deinit ble in a coexist scenario causes the wifi mac tsf counter to stop

This commit is contained in:
Li Shuai 2024-05-16 11:32:32 +08:00
parent 91df5f03e9
commit fc40fafe8d

View File

@ -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;