mirror of https://github.com/PentHertz/srsLTE.git
lte,enb,sched: UL HARQs should return 0 pending bytes if empty
This commit is contained in:
parent
0bd8f640db
commit
6d432646b9
|
@ -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;
|
||||
}
|
||||
|
||||
/********************
|
||||
|
|
Loading…
Reference in New Issue