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
This commit is contained in:
winckel
2014-01-14 15:23:55 +00:00
parent 36622e98d9
commit 46b3ab9e23
+1 -1
View File
@@ -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),