Do not reset MAC UE object during C-RNTI update

master
Ismael Gomez 3 years ago
parent 95b4a92f5f
commit cfec29548c

@ -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); srsran::rwlock_read_guard lock(rwlock);
if (temp_crnti != crnti) { if (temp_crnti != crnti) {
// if C-RNTI is changed, it corresponds to older user. Handover scenario. // if C-RNTI is changed, it corresponds to older user. Handover scenario.
ue_db[crnti]->reset(); // ue_db[crnti]->reset();
} else { } else {
// Schedule ConRes Msg4 // Schedule ConRes Msg4
scheduler.dl_mac_buffer_state(crnti, (uint32_t)srsran::dl_sch_lcid::CON_RES_ID); scheduler.dl_mac_buffer_state(crnti, (uint32_t)srsran::dl_sch_lcid::CON_RES_ID);

Loading…
Cancel
Save