From 59403e5b0188e08cd8b7998758e0f6b8e95730a9 Mon Sep 17 00:00:00 2001 From: francescomani Date: Tue, 8 Oct 2024 14:37:34 +0200 Subject: [PATCH] adding assertion for reportUplinkTxDirectCurrent --- openair2/RRC/NR_UE/rrc_UE.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/openair2/RRC/NR_UE/rrc_UE.c b/openair2/RRC/NR_UE/rrc_UE.c index e8a83fd3a2..26dd82131c 100644 --- a/openair2/RRC/NR_UE/rrc_UE.c +++ b/openair2/RRC/NR_UE/rrc_UE.c @@ -1004,11 +1004,10 @@ void nr_rrc_cellgroup_configuration(NR_UE_RRC_INST_t *rrc, NR_CellGroupConfig_t nr_rrc_manage_rlc_bearers(rrc, cellGroupConfig); - AssertFatal(cellGroupConfig->sCellToReleaseList == NULL, - "Secondary serving cell release not implemented\n"); - - AssertFatal(cellGroupConfig->sCellToAddModList == NULL, - "Secondary serving cell addition not implemented\n"); + if (cellGroupConfig->ext1) + AssertFatal(cellGroupConfig->ext1->reportUplinkTxDirectCurrent == NULL, "Reporting of UplinkTxDirectCurrent not implemented\n"); + AssertFatal(cellGroupConfig->sCellToReleaseList == NULL, "Secondary serving cell release not implemented\n"); + AssertFatal(cellGroupConfig->sCellToAddModList == NULL, "Secondary serving cell addition not implemented\n"); }