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

Commit bddcd5ce authored by William Escande's avatar William Escande Committed by Automerger Merge Worker
Browse files

Merge "Initialize remote_credit_count when L2CAP on connection request." into...

Merge "Initialize remote_credit_count when L2CAP on connection request." into tm-qpr-dev am: ae9d92b2

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/21532309



Change-Id: Ifdf9e435de7d1a6fa6b7c91b27ee4ccad3c5385a
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 404371fc ae9d92b2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -990,7 +990,8 @@ void l2cble_process_sig_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) {
      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_ccb->local_conn_cfg.credits = L2CA_LeCreditDefault(),
      p_ccb->local_conn_cfg.credits = L2CA_LeCreditDefault();
      p_ccb->remote_credit_count = L2CA_LeCreditDefault();

      p_ccb->peer_conn_cfg.mtu = mtu;
      p_ccb->peer_conn_cfg.mps = mps;