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

Commit 98b7ae06 authored by Chris Manton's avatar Chris Manton
Browse files

Re-log stack/acl/btm_acl::btm_acl_created

Towards loggable code

Bug: 163134718
Tag: #refactor
Test: gd/cert/run

Change-Id: I1e6ffe540d913839577c6a7969ddf2d073b83332
parent 693eed21
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -412,7 +412,10 @@ void btm_acl_created(const RawAddress& bda, uint16_t hci_handle,
  p_acl->reset_switch_role();
  acl_initialize_power_mode(*p_acl);

  LOG_DEBUG("Created new ACL connection");
  LOG_DEBUG(
      "Created new ACL connection peer:%s role:%s handle:0x%04x transport:%s",
      PRIVATE_ADDRESS(bda), RoleText(p_acl->link_role).c_str(), hci_handle,
      BtTransportText(transport).c_str());
  btm_set_link_policy(p_acl, btm_cb.acl_cb_.DefaultLinkPolicy());

  if (transport == BT_TRANSPORT_LE) {