From c8329e4f7ff959146f94e820d739fc78ad76b267 Mon Sep 17 00:00:00 2001
From: Lionel Gauthier <lionel.gauthier@eurecom.fr>
Date: Mon, 10 Feb 2014 14:35:57 +0000
Subject: [PATCH] Added UDP task

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5062 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 targets/COMMON/create_tasks.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/targets/COMMON/create_tasks.c b/targets/COMMON/create_tasks.c
index d6563637560..6c672c402a2 100644
--- a/targets/COMMON/create_tasks.c
+++ b/targets/COMMON/create_tasks.c
@@ -38,6 +38,7 @@
 #     include "sctp_eNB_task.h"
 #     include "s1ap_eNB.h"
 #     include "nas_ue_task.h"
+#     include "udp_eNB_task.h"
 #   endif
 #   if defined(ENABLE_RAL)
 #     include "lteRALue.h"
@@ -67,6 +68,12 @@ int create_tasks(uint32_t enb_nb, uint32_t ue_nb)
                     LOG_E(EMU, "Create task for S1AP failed\n");
                     return -1;
                 }
+
+                if (itti_create_task (TASK_UDP, udp_eNB_task, NULL) < 0)
+                {
+                    LOG_E(EMU, "Create task for UDP failed\n");
+                    return -1;
+                }
             }
 
             if (ue_nb > 0)
-- 
GitLab