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

Commit 87280bcd authored by Chris Manton's avatar Chris Manton
Browse files

gd_acl: Remove redundant call stack/l2cap/l2c_link

Previous arch had l2cap driving the btm layer.
The new legacy acl/btm layer sits between the l2cap
layer and the hci layer.  The call path has
already been exercised by this time and is called twice

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

Change-Id: I8e83a79020f0c9cdfaab0916af1a8e2028e130ca
parent a61e6c92
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -174,9 +174,6 @@ void l2c_link_hci_conn_comp(uint8_t 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);

    BTM_SetLinkSuperTout(ci.bd_addr, acl_get_link_supervision_timeout());

    /* If dedicated bonding do not process any further */