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

Commit cdc27a6c authored by Brian Delwiche's avatar Brian Delwiche Committed by Gerrit Code Review
Browse files

Merge "Update link status before sending callback" into main

parents 1975cfda 87d92ca1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -108,10 +108,10 @@ void l2cble_notify_le_connection(const RawAddress& bda) {
  if (get_btm_client_interface().peer.BTM_IsAclConnectionUp(bda, BT_TRANSPORT_LE) &&
      p_lcb->link_state != LST_CONNECTED) {
    /* update link status */
    p_lcb->link_state = LST_CONNECTED;
    // TODO Move this back into acl layer
    btm_establish_continue_from_address(bda, BT_TRANSPORT_LE);
    /* update l2cap link status and send callback */
    p_lcb->link_state = LST_CONNECTED;
    /* send callback */
    l2cu_process_fixed_chnl_resp(p_lcb);
  }