enb,mac_nr: remove user from scheduler when removed from MAC

This commit is contained in:
Andre Puschmann 2021-09-27 14:58:34 +02:00
parent 698eff29f4
commit 9cefddd739
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ int mac_nr::remove_ue(uint16_t rnti)
{
srsran::rwlock_write_guard lock(rwlock);
if (is_rnti_active_nolock(rnti)) {
sched.ue_rem(rnti);
ue_db.erase(rnti);
} else {
logger.error("User rnti=0x%x not found", rnti);