Use correct RRC UE ID for PDCP, print warning if not existing
This commit is contained in:
@@ -124,7 +124,7 @@ void nr_pdcp_manager_remove_ue(nr_pdcp_ue_manager_t *_m, ue_id_t UEid)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
if (i == m->ue_count) {
|
if (i == m->ue_count) {
|
||||||
LOG_D(PDCP, "%s:%d:%s: warning: UE ID/RNTI 0x%" PRIx64 " not found\n", __FILE__, __LINE__, __FUNCTION__, UEid);
|
LOG_W(PDCP, "%s:%d:%s: warning: UE ID/RNTI 0x%" PRIx64 " not found\n", __FILE__, __LINE__, __FUNCTION__, UEid);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -412,8 +412,7 @@ void rrc_remove_nsa_user(gNB_RRC_INST *rrc, int rnti) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
nr_pdcp_remove_UE(ctxt.rntiMaybeUEid);
|
nr_pdcp_remove_UE(ue_context->ue_context.rrc_ue_id);
|
||||||
|
|
||||||
rrc_rlc_remove_ue(&ctxt);
|
rrc_rlc_remove_ue(&ctxt);
|
||||||
|
|
||||||
// lock the scheduler before removing the UE. Note: mac_remove_nr_ue() checks
|
// lock the scheduler before removing the UE. Note: mac_remove_nr_ue() checks
|
||||||
|
|||||||
Reference in New Issue
Block a user