From 5785bc18949cd1677a4b7f7d00c529bec3a61e5d Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Mon, 25 Nov 2024 18:55:47 +0100 Subject: [PATCH] Msg4 RNTI not found: abort RA --- openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c index 29e4ea1122..c7faf78179 100644 --- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c +++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c @@ -1941,7 +1941,8 @@ static void nr_generate_Msg4_MsgB(module_id_t module_idP, NR_UE_info_t *UE = find_nr_UE(&nr_mac->UE_info, ra->rnti); if (!UE) { - LOG_E(NR_MAC, "want to generate %s, but rnti %04x not in the table\n", ra_type_str, ra->rnti); + LOG_E(NR_MAC, "want to generate %s, but rnti %04x not in the table. Abort RA\n", ra_type_str, ra->rnti); + nr_clear_ra_proc(ra); return; }