Merge branch 'bugfix/esp32c6eco1_coex_ble_deinit_wifi_bcn_timeout_v5.1' into 'release/v5.1'

backport v5.1: fix the issue where deinit ble in a coexist scenario causes the wifi mac tsf counter to stop

See merge request espressif/esp-idf!30983
This commit is contained in:
Jiang Jiang Jian 2024-05-22 16:18:17 +08:00
commit 47418a88b9

View File

@ -446,7 +446,7 @@ void modem_clock_deselect_lp_clock_source(periph_module_t module)
pmu_sleep_enable_hp_sleep_sysclk(false); pmu_sleep_enable_hp_sleep_sysclk(false);
} }
modem_clock_hal_enable_wifipwr_clock(MODEM_CLOCK_instance()->hal, 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 #endif
break; break;