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

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

Revert "gd_acl: Remove redundant call stack/l2cap/l2c_link"

This reverts commit 87280bcd.

Reason for revert: Breaks CTKD

Bug: 180137651
Test: gd/cert/run
Tag: #gd-refactor

Change-Id: Ie67838980b69872926239f6511e2ff2efe7167c7
parent 7a235b95
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -190,6 +190,9 @@ void l2c_link_hci_conn_comp(tHCI_STATUS status, uint16_t handle,
    /* Get the peer information if the l2cap flow-control/rtrans is supported */
    l2cu_send_peer_info_req(p_lcb, L2CAP_EXTENDED_FEATURES_INFO_TYPE);

    /* Tell BTM Acl management about the link */
    btm_acl_created(ci.bd_addr, handle, p_lcb->LinkRole(), BT_TRANSPORT_BR_EDR);

    if (p_lcb->IsBonding()) {
      LOG_DEBUG("Link is dedicated bonding handle:0x%04x", p_lcb->Handle());
      if (l2cu_start_post_bond_timer(handle)) return;