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

Commit 815d5cef authored by Mehmet Murat Sevim's avatar Mehmet Murat Sevim Committed by Automerger Merge Worker
Browse files

Merge "Initialize remote_credit_count when L2CAP on connection request." am:...

Merge "Initialize remote_credit_count when L2CAP on connection request." am: e599bb71 am: 844a4298

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



Change-Id: I209c6e6381e9e7fc606ea83561dc9d8f4591a954
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents cf04847d 844a4298
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1008,7 +1008,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;