From 37425ee9673675d3c617f5b4126d8a21032e2985 Mon Sep 17 00:00:00 2001
From: Cedric Roux <cedric.roux@eurecom.fr>
Date: Thu, 22 Feb 2018 11:54:16 +0100
Subject: [PATCH] bugfix: revert bad change

Without this revert, the following does not compile:

    ./build_oai --oaisim
---
 openair2/LAYER2/openair2_proc.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/openair2/LAYER2/openair2_proc.c b/openair2/LAYER2/openair2_proc.c
index 7cb6ce0d2c..f66d1142ab 100644
--- a/openair2/LAYER2/openair2_proc.c
+++ b/openair2/LAYER2/openair2_proc.c
@@ -228,9 +228,7 @@ int dump_eNB_l2_stats(char *buffer, int length)
       PROTOCOL_CTXT_SET_BY_MODULE_ID(&ctxt,
 				     eNB_id,
 				     ENB_FLAG_YES,
-                                     /* the following is suspicious, let's put back what was there before */
-				     /*UE_list->eNB_UE_stats[0][UE_id].crnti,//UE_PCCID(eNB_id,UE_id)][UE_id].crnti, */
-				     UE_list->eNB_UE_stats[UE_PCCID(eNB_id,UE_id)][UE_id].crnti,
+				     UE_list->eNB_UE_stats[0][UE_id].crnti,//UE_PCCID(eNB_id,UE_id)][UE_id].crnti, 
 				     eNB->frame,
 				     eNB->subframe,
 				     eNB_id);
-- 
GitLab