Commit 46b3ab9e authored by winckel's avatar winckel

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
parent 36622e98
...@@ -137,7 +137,7 @@ static int rrc_set_state (u8 Mod_id, Rrc_State_t state) { ...@@ -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) { 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) { switch (UE_rrc_inst[Mod_id].RrcState) {
case RRC_STATE_INACTIVE: case RRC_STATE_INACTIVE:
AssertFatal ((RRC_SUB_STATE_INACTIVE_FIRST <= subState) && (subState <= RRC_SUB_STATE_INACTIVE_LAST), AssertFatal ((RRC_SUB_STATE_INACTIVE_FIRST <= subState) && (subState <= RRC_SUB_STATE_INACTIVE_LAST),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment