From fa09fbcf12d6ce48dc978bb8430694fbcfb8c617 Mon Sep 17 00:00:00 2001
From: matzakos <panagiotis.matzakos@eurecom.fr>
Date: Tue, 4 Feb 2020 13:21:02 +0100
Subject: [PATCH] Small fix to be able to parse ue capabilities and add NSA
 user when running in phytest mode

---
 openair2/RRC/NR/rrc_gNB.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openair2/RRC/NR/rrc_gNB.c b/openair2/RRC/NR/rrc_gNB.c
index 6fbb1b3cdc2..d32c6d6f3c9 100644
--- a/openair2/RRC/NR/rrc_gNB.c
+++ b/openair2/RRC/NR/rrc_gNB.c
@@ -204,7 +204,7 @@ static void init_NR_SI(gNB_RRC_INST *rrc) {
                          );
 
 
-  /*if (phy_test > 0) {
+  if (phy_test > 0) {
     // This is for phytest only, emulate first X2 message if uecap.raw file is present
     FILE *fd;
 
@@ -253,7 +253,7 @@ static void init_NR_SI(gNB_RRC_INST *rrc) {
       LOG_I(NR_RRC,"Adding new user (%p)\n",ue_context_p);    
       rrc_add_nsa_user(rrc,ue_context_p);
     } 
-  }*/
+  }
 }
 
 
-- 
GitLab