Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67a8d660 authored by Myles Watson's avatar Myles Watson
Browse files

BTM_BleClearBgConnDev: Return if there is no BLE

Bug: 77495521
Bug: 76192234
Test: Start Bluetooth with a BT 3.0 chip (or a simulated one)
Change-Id: I718b7532bbba6100dd51c0677a44d41a2db0ce26
parent e8e24bcf
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -722,6 +722,7 @@ void BTM_BleStartAutoConn() {
 *
 *
 ******************************************************************************/
 ******************************************************************************/
void BTM_BleClearBgConnDev(void) {
void BTM_BleClearBgConnDev(void) {
  if (!controller_get_interface()->supports_ble()) return;
  btm_ble_start_auto_conn(false);
  btm_ble_start_auto_conn(false);
  btm_ble_clear_white_list();
  btm_ble_clear_white_list();
  gatt_reset_bgdev_list();
  gatt_reset_bgdev_list();