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

Commit a3c81fd6 authored by Kilsung Yu's avatar Kilsung Yu Committed by Chris Manton
Browse files

l2cap: Fix for L2CAP Credit Based Reconfigure Request with MPS

Stack should accept L2CAP Credid Based Reconfigure Reqest with smaller MPS
 than initiated MPS for one channel
Test : verified with L2CAP/ECFC/BI-07-C and L2CAP/ECFC/BV-25-C

Change-Id: I3dc3eff2ae3d58ec9144282b12e2b472211e01fa
parent c612e542
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -798,7 +798,7 @@ void l2cble_process_sig_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) {
          return;
          return;
        }
        }


        if (p_ccb->peer_conn_cfg.mps > mps) {
        if (p_ccb->peer_conn_cfg.mps > mps && num_of_channels > 1) {
          L2CAP_TRACE_WARNING(
          L2CAP_TRACE_WARNING(
              "L2CAP - rcvd config req mps reduction new mps < mps (%d < %d)",
              "L2CAP - rcvd config req mps reduction new mps < mps (%d < %d)",
              mtu, p_ccb->peer_conn_cfg.mtu);
              mtu, p_ccb->peer_conn_cfg.mtu);