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

Commit 1b9d3e06 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Fix logic bug in shim am: d8dc4f3a am: c41bad54

Change-Id: Iff6450891d4c2b9d77833ee2ef0f1b160a4b8687
parents 6eb8b1ef c41bad54
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -792,7 +792,7 @@ tBTM_STATUS bluetooth::shim::Btm::CreateBond(const RawAddress& bd_addr,
                                             tBT_TRANSPORT transport,
                                             int device_type) {
  if (transport == BTA_TRANSPORT_UNKNOWN) {
    if (BT_DEVICE_TYPE_BLE & BT_DEVICE_TYPE_BLE) {
    if (device_type & BT_DEVICE_TYPE_BLE) {
      transport = BTA_TRANSPORT_LE;
    } else if (device_type & BT_DEVICE_TYPE_BREDR) {
      transport = BTA_TRANSPORT_BR_EDR;