From 13f17c13c34a7f05807cd2cc62e71dffeece0f47 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 24 Aug 2021 11:49:03 +0200 Subject: [PATCH] vlr_sgs.h: Set proper logic order of items in enum sgs_ue_fsm_state Set order of states in the same order as they appear in the specs (see chapter 4.2.2 mentioned above the enum). Furthermore, from FSM state transition point of view it also makes sense to put them in this new order, since one should pass through SGS_UE_ST_LA_UPD_PRES to get to SGS_UE_ST_ASSOCIATED. Change-Id: Ia9216965e9f30caedffa3cb53d14da7f7fd37b4e --- include/osmocom/msc/vlr_sgs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osmocom/msc/vlr_sgs.h b/include/osmocom/msc/vlr_sgs.h index 1a4984db8..05e062be9 100644 --- a/include/osmocom/msc/vlr_sgs.h +++ b/include/osmocom/msc/vlr_sgs.h @@ -32,8 +32,8 @@ struct vlr_instance; /* See also 3GPP TS 29.118, chapter 4.2.2 States at the VLR */ enum sgs_ue_fsm_state { SGS_UE_ST_NULL, - SGS_UE_ST_ASSOCIATED, SGS_UE_ST_LA_UPD_PRES, + SGS_UE_ST_ASSOCIATED, }; enum vlr_sgs_state_tmr {