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

Commit 03f0510d authored by Chris Manton's avatar Chris Manton
Browse files

l2cap: Add mtu and mps to lead eatt channel

Bug: 159786353
Test: CtsVerifier
Tag: #feature

Change-Id: Ia5be81bde7a10d0b8e466b9b856d75d52b43a349
parent 03d4a94f
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;
          }