Do not reset MAC UE object during C-RNTI update

This commit is contained in:
Ismael Gomez 2021-10-19 14:20:51 +02:00
parent 95b4a92f5f
commit cfec29548c
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ int mac::ue_set_crnti(uint16_t temp_crnti, uint16_t crnti, const sched_interface
srsran::rwlock_read_guard lock(rwlock);
if (temp_crnti != crnti) {
// if C-RNTI is changed, it corresponds to older user. Handover scenario.
ue_db[crnti]->reset();
// ue_db[crnti]->reset();
} else {
// Schedule ConRes Msg4
scheduler.dl_mac_buffer_state(crnti, (uint32_t)srsran::dl_sch_lcid::CON_RES_ID);