From a94a6f38101f4941e0df04ebdd8ccd5203e5f824 Mon Sep 17 00:00:00 2001 From: Lionel Gauthier Date: Thu, 2 Jan 2014 14:22:42 +0000 Subject: [PATCH] Added preproc if (MME) for NAS message: Line 1849 # if defined(ENABLE_USE_MME) && (UE_rrc_inst[Mod_id].initialNasMsg.data != NULL) #endif git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4818 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair2/RRC/LITE/rrc_UE.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/openair2/RRC/LITE/rrc_UE.c b/openair2/RRC/LITE/rrc_UE.c index 04c3874168..7ff3ccd8ea 100644 --- a/openair2/RRC/LITE/rrc_UE.c +++ b/openair2/RRC/LITE/rrc_UE.c @@ -1846,7 +1846,11 @@ int decode_BCCH_DLSCH_Message(u8 Mod_id,u32 frame,u8 eNB_index,u8 *Sdu,u8 Sdu_le } } - if ((rrc_get_sub_state(Mod_id) == RRC_SUB_STATE_IDLE_SIB_COMPLETE) && (UE_rrc_inst[Mod_id].initialNasMsg.data != NULL)) { + if ((rrc_get_sub_state(Mod_id) == RRC_SUB_STATE_IDLE_SIB_COMPLETE) +# if defined(ENABLE_USE_MME) +&& (UE_rrc_inst[Mod_id].initialNasMsg.data != NULL) +#endif + ) { rrc_ue_generate_RRCConnectionRequest(Mod_id, frame, 0); LOG_I(RRC, "not sending connection request\n");