aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-05-04 17:04:02 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2022-05-04 17:08:34 +0200
commit7813cc95aa2ac1e121af098e3506bf35cdf2cd9d (patch)
treee77b02a67c4455dbbf9b77186065bc0477bc0ebe /include
parent903705604a34ebe311bc316dff000af25f659a36 (diff)
gsm_12_21.h: Fix abis_nm_avail_state InTest and Failed values
This has always been wrong since at least libosmocore initial commit in 2010. Change-Id: Ib854a1284fbd38951bb2d1cb3706c42ba7e14ccb
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/gsm/protocol/gsm_12_21.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_12_21.h b/include/osmocom/gsm/protocol/gsm_12_21.h
index 9fe6a8b3..4baa7e8c 100644
--- a/include/osmocom/gsm/protocol/gsm_12_21.h
+++ b/include/osmocom/gsm/protocol/gsm_12_21.h
@@ -522,9 +522,11 @@ enum abis_nm_adm_state {
/*! OML Availability State (Section 9.4.7) */
enum abis_nm_avail_state {
- NM_AVSTATE_IN_TEST = 1,
+ NM_AVSTATE_IN_TEST = 0,
+ NM_AVSTATE_FAILED = 1,
NM_AVSTATE_POWER_OFF = 2,
NM_AVSTATE_OFF_LINE = 3,
+ /* <not used> = 4, */
NM_AVSTATE_DEPENDENCY = 5,
NM_AVSTATE_DEGRADED = 6,
NM_AVSTATE_NOT_INSTALLED= 7,