lte,enb,sched: UL HARQs should return 0 pending bytes if empty

This commit is contained in:
Francisco 2021-10-19 19:10:23 +01:00 committed by Andre Puschmann
parent 0bd8f640db
commit 6d432646b9
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ void ul_harq_proc::reset_pending_data()
uint32_t ul_harq_proc::get_pending_data() const
{
return (uint32_t)pending_data;
return is_empty() ? 0 : (uint32_t)pending_data;
}
/********************