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

Commit 7fe96a89 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
(cherry picked from commit 67a8d660)
parent c6761c90
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -723,6 +723,7 @@ void BTM_BleStartAutoConn() {
 *
 ******************************************************************************/
void BTM_BleClearBgConnDev(void) {
  if (!controller_get_interface()->supports_ble()) return;
  btm_ble_start_auto_conn(false);
  btm_ble_clear_white_list();
  gatt_reset_bgdev_list();