mirror of https://github.com/PentHertz/srsLTE.git
fix scheduler UL harq reset for msg3 case
This commit is contained in:
parent
68c938267f
commit
31b03fdd8a
|
@ -273,8 +273,14 @@ bool ul_harq_proc::has_pending_phich() const
|
|||
|
||||
bool ul_harq_proc::pop_pending_phich()
|
||||
{
|
||||
assert(pending_phich);
|
||||
bool ret = ack_state[0];
|
||||
pending_phich = false;
|
||||
if (is_empty(0)) {
|
||||
// fully reset UL HARQ once PHICH is dispatched
|
||||
is_msg3_ = false;
|
||||
pending_data = 0;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue