From 0816940fb5edafd7d1d7257619e4f0923b1ee145 Mon Sep 17 00:00:00 2001
From: Roberto Louro Magueta <rmagueta@allbesmart.pt>
Date: Wed, 5 May 2021 15:13:52 +0200
Subject: [PATCH] Revert "Revert "Call the right function for the initiation of
 gtp-u task at gNB""

This reverts commit 278bfa8d6a905bdf0095a34d12086cf7becf0115
---
 executables/nr-softmodem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/executables/nr-softmodem.c b/executables/nr-softmodem.c
index 35142983c4d..c7e636736b9 100644
--- a/executables/nr-softmodem.c
+++ b/executables/nr-softmodem.c
@@ -363,7 +363,7 @@ int create_gNB_tasks(uint32_t gnb_nb) {
         }
       }
 
-      if (itti_create_task (TASK_GTPV1_U, &gtpv1u_gNB_task, NULL) < 0) {
+      if (itti_create_task (TASK_GTPV1_U, &nr_gtpv1u_gNB_task, NULL) < 0) {
         LOG_E(GTPU, "Create task for GTPV1U failed\n");
         return -1;
       }
-- 
GitLab