From 46b3ab9e23a6daaa519630afb23e0ee01ea4459e Mon Sep 17 00:00:00 2001 From: winckel <winckel@eurecom.fr> Date: Tue, 14 Jan 2014 15:23:55 +0000 Subject: [PATCH] Disabled UE RRC state check when setting sub-state if ENABLE_USE_MME is not defined. git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4872 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair2/RRC/LITE/rrc_UE.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair2/RRC/LITE/rrc_UE.c b/openair2/RRC/LITE/rrc_UE.c index 820ac58a00..f2d67ab4d9 100644 --- a/openair2/RRC/LITE/rrc_UE.c +++ b/openair2/RRC/LITE/rrc_UE.c @@ -137,7 +137,7 @@ static int rrc_set_state (u8 Mod_id, Rrc_State_t state) { } static int rrc_set_sub_state (u8 Mod_id, Rrc_Sub_State_t subState) { -#if defined(ENABLE_ITTI) +#if (defined(ENABLE_ITTI) && defined(ENABLE_USE_MME)) switch (UE_rrc_inst[Mod_id].RrcState) { case RRC_STATE_INACTIVE: AssertFatal ((RRC_SUB_STATE_INACTIVE_FIRST <= subState) && (subState <= RRC_SUB_STATE_INACTIVE_LAST), -- GitLab