fix(ble/bluedroid): Fixed bt buuld error

fix(ble/bluedroid): disable power management if bt is disabled


(cherry picked from commit 6f27074c1ee4486cedf8adeb1a57e67b9cb6a525)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
This commit is contained in:
Zhi Wei Jian
2026-01-07 17:24:34 +08:00
parent 8e361fc5bb
commit cbf4640668
25 changed files with 144 additions and 61 deletions
@@ -183,8 +183,9 @@ static void reset_complete(void)
#endif // #if (GATT_BG_CONN_DEV == TRUE)
#endif
#if (CLASSIC_BT_INCLUDED == TRUE)
btm_pm_reset();
#endif // #if (CLASSIC_BT_INCLUDED == TRUE)
l2c_link_processs_num_bufs(controller->get_acl_buffer_count_classic());
#if BTM_SCO_HCI_INCLUDED == TRUE