From c910d9f71f8bc1adc7583b9aae7d17b73cbdd018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BAben=20Soares=20Silva?= Date: Fri, 22 Nov 2024 10:26:13 +0000 Subject: [PATCH] Change Assert condition to allow configuration when in PNF mode. --- openair2/GNB_APP/gnb_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair2/GNB_APP/gnb_config.c b/openair2/GNB_APP/gnb_config.c index baeca1aa72..39c8014adc 100644 --- a/openair2/GNB_APP/gnb_config.c +++ b/openair2/GNB_APP/gnb_config.c @@ -2202,7 +2202,7 @@ void NRRCConfig(void) // Set num of gNBs instances RC.nb_nr_inst = GNBSParams[GNB_ACTIVE_GNBS_IDX].numelt; - AssertFatal(RC.nb_nr_inst == NUMBER_OF_gNB_MAX, + AssertFatal(RC.nb_nr_inst <= NUMBER_OF_gNB_MAX, "Configuration error: RC.nb_nr_inst (%d) must equal NUMBER_OF_gNB_MAX (%d).\n" "Currently, only one instance of each layer (L1, L2, L3) is supported.\n" "Ensure that nb_nr_inst matches the maximum allowed gNB instances in this configuration.",