rlc, nr: fix rlc_am_nr_tx::has_data()

This commit is contained in:
Robert Falkenberg 2022-02-22 14:27:48 +01:00
parent 95ebc06ec1
commit 42a8e957d4
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
/**