Commit 41c5ea94 authored by Robert Schmidt's avatar Robert Schmidt

Start RRC ITTI task only in CU or monolithic

parent 96dfb44a
...@@ -392,11 +392,12 @@ static int create_gNB_tasks(ngran_node_t node_type) ...@@ -392,11 +392,12 @@ static int create_gNB_tasks(ngran_node_t node_type)
return -1; return -1;
} }
LOG_I(NR_RRC, "Creating NR RRC gNB Task, that will also create TASKS\n"); if (!NODE_IS_DU(node_type)) {
if (itti_create_task (TASK_RRC_GNB, rrc_gnb_task, NULL) < 0) { if (itti_create_task (TASK_RRC_GNB, rrc_gnb_task, NULL) < 0) {
LOG_E(NR_RRC, "Create task for NR RRC gNB failed\n"); LOG_E(NR_RRC, "Create task for NR RRC gNB failed\n");
return -1; return -1;
} }
}
// If CU // If CU
if (node_type == ngran_gNB_CU || node_type == ngran_gNB) { if (node_type == ngran_gNB_CU || node_type == ngran_gNB) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment