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

master
Francisco 3 years ago committed by Andre Puschmann
parent 0bd8f640db
commit 6d432646b9

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

Loading…
Cancel
Save