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

Commit ec4e0bc1 authored by Chris Manton's avatar Chris Manton
Browse files

Use proper types tBT_TRANSPORT

Bug: 188297862
Tag: #refactor
Test: gd/cert/run
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I2e4f44fb476c9a8abd6e6e65b27a2b013415d3f1
parent 48ab22ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -568,7 +568,7 @@ void bta_dm_remove_device(const RawAddress& bd_addr) {
      BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_LE) ||
      BTM_IsAclConnectionUp(bd_addr, BT_TRANSPORT_BR_EDR);

  uint8_t other_transport = BT_TRANSPORT_AUTO;
  tBT_TRANSPORT other_transport = BT_TRANSPORT_AUTO;
  if (is_bd_addr_connected) {
    APPL_TRACE_DEBUG("%s: ACL Up count: %d", __func__,
                     bta_dm_cb.device_list.count);
+5 −0
Original line number Diff line number Diff line
@@ -771,6 +771,11 @@ static void maybe_chain_more_commands_after_read_remote_version_complete(
          internal_.btm_read_remote_features(p_acl_cb->hci_handle);
        }
      }
      break;
    default:
      LOG_ERROR("Unable to determine transport:%s device:%s",
                bt_transport_text(p_acl_cb->transport).c_str(),
                PRIVATE_ADDRESS(p_acl_cb->remote_addr));
  }
}