fix(ble/bluedroid): disable bluedroid background connection

(cherry picked from commit 1f5fa1e72b290b3471f90dfe695dca23f8825181)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
This commit is contained in:
Zhi Wei Jian
2026-01-07 17:24:32 +08:00
parent 27f9a8a3c9
commit bd1c995c65
8 changed files with 42 additions and 5 deletions
@@ -174,8 +174,10 @@ static void reset_complete(void)
#if (BLE_INCLUDED == TRUE)
btm_cb.ble_ctr_cb.conn_state = BLE_CONN_IDLE;
#if (BLE_GATT_BGCONN == TRUE)
btm_cb.ble_ctr_cb.bg_conn_type = BTM_BLE_CONN_NONE;
btm_cb.ble_ctr_cb.p_select_cback = NULL;
#endif // (BLE_GATT_BGCONN == TRUE)
#if (GATT_BG_CONN_DEV == TRUE)
gatt_reset_bgdev_list();
#endif // #if (GATT_BG_CONN_DEV == TRUE)