Commit 82e5e214 authored by rmagueta's avatar rmagueta

Add condition in CU_handle_F1_SETUP_REQUEST to LTE version

parent 2ecd8c2b
......@@ -103,7 +103,11 @@ int CU_handle_F1_SETUP_REQUEST(instance_t instance,
assoc_id, stream);
}
message_p = itti_alloc_new_message(TASK_CU_F1, 0, F1AP_SETUP_REQ);
if (RC.nrrrc && RC.nrrrc[0]->node_type == ngran_gNB_CU) {
message_p = itti_alloc_new_message(TASK_CU_F1, 0, F1AP_SETUP_REQ);
} else {
message_p = itti_alloc_new_message(TASK_RRC_ENB, 0, F1AP_SETUP_REQ);
}
/* assoc_id */
F1AP_SETUP_REQ(message_p).assoc_id = assoc_id;
......
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