Fix segmentation fault in ue_context_setup_request()
This commit is contained in:
@@ -103,7 +103,7 @@ void ue_context_setup_request(const f1ap_ue_context_setup_t *req)
|
|||||||
NR_SCHED_LOCK(&mac->sched_lock);
|
NR_SCHED_LOCK(&mac->sched_lock);
|
||||||
|
|
||||||
NR_UE_info_t *UE = find_nr_UE(&RC.nrmac[0]->UE_info, req->rnti);
|
NR_UE_info_t *UE = find_nr_UE(&RC.nrmac[0]->UE_info, req->rnti);
|
||||||
AssertFatal(UE != NULL, "did not find UE with RNTI %04x, but UE Context Setup Failed not implemented\n", UE->rnti);
|
AssertFatal(UE != NULL, "did not find UE with RNTI %04x, but UE Context Setup Failed not implemented\n", req->rnti);
|
||||||
|
|
||||||
if (req->srbs_to_be_setup_length > 0)
|
if (req->srbs_to_be_setup_length > 0)
|
||||||
handle_ue_context_srbs_setup(req, &resp, UE->CellGroup);
|
handle_ue_context_srbs_setup(req, &resp, UE->CellGroup);
|
||||||
|
|||||||
Reference in New Issue
Block a user