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

Commit e59f1886 authored by Hansong Zhang's avatar Hansong Zhang
Browse files

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

Bug: 145679867
Test: run_cert.sh
Change-Id: I6b60f2dc5e2a2494f085366b8d5819d949ec3af8
parent ac44711d
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);