From 41c5ea94ae03b7cd15396869a5f86fa1637f1dab Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Tue, 31 Oct 2023 17:08:58 +0100 Subject: [PATCH] Start RRC ITTI task only in CU or monolithic --- executables/nr-softmodem.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/executables/nr-softmodem.c b/executables/nr-softmodem.c index 75a9e0dc24..c60379dde1 100644 --- a/executables/nr-softmodem.c +++ b/executables/nr-softmodem.c @@ -392,10 +392,11 @@ static int create_gNB_tasks(ngran_node_t node_type) return -1; } - LOG_I(NR_RRC, "Creating NR RRC gNB Task, that will also create TASKS\n"); - if (itti_create_task (TASK_RRC_GNB, rrc_gnb_task, NULL) < 0) { - LOG_E(NR_RRC, "Create task for NR RRC gNB failed\n"); - return -1; + if (!NODE_IS_DU(node_type)) { + if (itti_create_task (TASK_RRC_GNB, rrc_gnb_task, NULL) < 0) { + LOG_E(NR_RRC, "Create task for NR RRC gNB failed\n"); + return -1; + } } // If CU