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

Commit 54217e0c authored by Hansong Zhang's avatar Hansong Zhang Committed by android-build-merger
Browse files

L2CAP ERTM: Send ACK RR if we don't have I-Frame to send

am: e59f1886

Change-Id: I0ac168484256fbae8e47330dc434457d9ac3e4fc
parents 57609eda e59f1886
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -703,7 +703,7 @@ struct ErtmController::impl {
  void send_ack(Final f = Final::NOT_SET) {
    if (local_busy()) {
      send_rnr(f);
    } else if (!remote_busy() && /* pending i frames exist */ rem_window_not_full()) {
    } else if (!remote_busy() && !pending_frames_.empty() && rem_window_not_full()) {
      send_pending_i_frames(f);
    } else {
      send_rr(f);