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

Commit 7fc3d1cb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add cancel discovery before BLE get remote services."

parents f7c28ecc 83262045
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2688,6 +2688,8 @@ static void btif_dm_ble_auth_cmpl_evt(tBTA_DM_AUTH_CMPL* p_auth_cmpl) {
      state = BT_BOND_STATE_NONE;
    } else {
      btif_dm_save_ble_bonding_keys(bdaddr);
      // Ensure inquiry is stopped before attempting service discovery
      btif_dm_cancel_discovery();
      btif_dm_get_remote_services(bd_addr, BT_TRANSPORT_LE);
    }
  } else {