lte,enb,sched: Fix hanging handover due to lack of Msg4.

This commit is contained in:
Francisco 2021-10-19 15:43:51 +01:00 committed by Andre Puschmann
parent 4edb61212f
commit 0bd8f640db
1 changed files with 3 additions and 0 deletions

View File

@ -351,6 +351,9 @@ void harq_entity::reset()
for (auto& h : ul_harqs) {
for (uint32_t tb = 0; tb < SRSRAN_MAX_TB; tb++) {
h.reset(tb);
// The reset_pending_data() is called after reset(), when generating PHICH. However, in the case of full HARQ
// reset (e.g. during handover) no PHICH is going to be generated.
h.reset_pending_data();
}
}
}