aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-08-24 11:49:03 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-08-24 11:49:05 +0200
commit13f17c13c34a7f05807cd2cc62e71dffeece0f47 (patch)
treec832d3605d12bc09aed0a6fa4fe3d48a97ebde01
parent25b6847f46989c94cd91e42b4f0e579c286b2878 (diff)
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
-rw-r--r--include/osmocom/msc/vlr_sgs.h2
1 files changed, 1 insertions, 1 deletions
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 {