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

Commit 6614903d authored by Ruina Liu's avatar Ruina Liu Committed by android-build-merger
Browse files

Merge "Fix transport quota exhaustion"

am: 8de9f59b

Change-Id: Id0cc56113fb8c883af4987ec0910c29c7f0a61d9
parents 0513352f 8de9f59b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -999,7 +999,7 @@ void l2c_link_check_send_pkts(tL2C_LCB* p_lcb, tL2C_CCB* p_ccb, BT_HDR* p_buf) {
          (p_lcb->transport == BT_TRANSPORT_LE &&
           (l2cb.ble_round_robin_unacked >= l2cb.ble_round_robin_quota ||
            l2cb.controller_le_xmit_window == 0)))
        break;
        continue;

      /* Check for wraparound */
      if (p_lcb == &l2cb.lcb_pool[MAX_L2CAP_LINKS]) p_lcb = &l2cb.lcb_pool[0];