From 42a8e957d464b57766f0d0991c09f49c2b1369ba Mon Sep 17 00:00:00 2001 From: Robert Falkenberg Date: Tue, 22 Feb 2022 14:27:48 +0100 Subject: [PATCH] rlc, nr: fix rlc_am_nr_tx::has_data() --- lib/src/rlc/rlc_am_nr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/rlc/rlc_am_nr.cc b/lib/src/rlc/rlc_am_nr.cc index bdb1c2792..ce13ead86 100644 --- a/lib/src/rlc/rlc_am_nr.cc +++ b/lib/src/rlc/rlc_am_nr.cc @@ -66,7 +66,7 @@ bool rlc_am_nr_tx::configure(const rlc_config_t& cfg_) bool rlc_am_nr_tx::has_data() { return do_status() || // if we have a status PDU to transmit - tx_sdu_queue.get_n_sdus() != 1; // or if there is a SDU queued up for transmission + tx_sdu_queue.get_n_sdus() != 0; // or if there is a SDU queued up for transmission } /**