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

Commit 30e633ba authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

l2cap: Add mtu and mps to lead eatt channel am: 03f0510d

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1496553

Change-Id: I6bfd9fa17343bf223f47481324f9ba055e061b4b
parents aac22422 03f0510d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -651,6 +651,9 @@ void l2cble_process_sig_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) {
          /*This is going to be our lead p_ccb for state machine */
          if (!lead_cid_set) {
            p_ccb = temp_p_ccb;
            p_ccb->local_conn_cfg.mtu = L2CAP_SDU_LENGTH_LE_MAX;
            p_ccb->local_conn_cfg.mps =
                controller_get_interface()->get_acl_data_size_ble();
            p_lcb->pending_lead_cid = p_ccb->local_cid;
            lead_cid_set = true;
          }