rlc, nr: fix rlc_am_nr_tx::has_data()

master
Robert Falkenberg 3 years ago
parent 95ebc06ec1
commit 42a8e957d4

@ -66,7 +66,7 @@ bool rlc_am_nr_tx::configure(const rlc_config_t& cfg_)
bool rlc_am_nr_tx::has_data() bool rlc_am_nr_tx::has_data()
{ {
return do_status() || // if we have a status PDU to transmit 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
} }
/** /**

Loading…
Cancel
Save