Commit e8cc09b3 authored by Chun-Yeow's avatar Chun-Yeow
Browse files

lte-ue: fix the initialization of UE NAS

The NAS UE is not initialized by the UE of lte-softmodem.
Fix this.
Signed-off-by: default avatarChun-Yeow Yeoh <>
parent a3b5d7b2
......@@ -1019,6 +1019,10 @@ void *UE_thread(void *arg)
openair0_timestamp timestamp;
#ifdef NAS_UE
MessageDef *message_p;
#ifdef RTAI
RT_TASK *task = rt_task_init_schmod(nam2num("UE thread"), 0, 0, 0, SCHED_FIFO, 0xF);
......@@ -1074,6 +1078,11 @@ void *UE_thread(void *arg)
printf("starting UE thread\n");
#ifdef NAS_UE
message_p = itti_alloc_new_message(TASK_NAS_UE, INITIALIZE_MESSAGE);
itti_send_msg_to_task (TASK_NAS_UE, INSTANCE_DEFAULT, message_p);
T0 = rt_get_time_ns();
first_rx = 1;
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