aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2022-12-19 21:12:59 +0100
committerAlexander Couzens <lynxis@fe80.eu>2022-12-19 22:01:45 +0100
commitc8e2b021a9f41008c168cca4160102b58f00d842 (patch)
tree4b40f988bbbec2f7efbabc03d465c2796e4d6344
parent300b72b44c584c9fd47f3f19d6bace7b90ffb2a1 (diff)
OML: NSVC[1] MO should have the same initial state as NVSC[0]
There is no reason why they should have different initial states. Keep it consistent with the other MOs. Change-Id: I9fd744ec79da9fc26d3ebe9857b2b0bbd5fcd1ff
-rw-r--r--src/common/bts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/bts.c b/src/common/bts.c
index 7f252dad..9cc694fb 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -375,7 +375,7 @@ int bts_init(struct gsm_bts *bts)
oml_mo_state_init(&bts->gprs.nse.mo, NM_OPSTATE_DISABLED, NM_AVSTATE_DEPENDENCY);
oml_mo_state_init(&bts->gprs.cell.mo, NM_OPSTATE_DISABLED, NM_AVSTATE_DEPENDENCY);
oml_mo_state_init(&bts->gprs.nsvc[0].mo, NM_OPSTATE_DISABLED, NM_AVSTATE_DEPENDENCY);
- oml_mo_state_init(&bts->gprs.nsvc[1].mo, NM_OPSTATE_DISABLED, NM_AVSTATE_OFF_LINE);
+ oml_mo_state_init(&bts->gprs.nsvc[1].mo, NM_OPSTATE_DISABLED, NM_AVSTATE_DEPENDENCY);
/* allocate a talloc pool for ORTP to ensure it doesn't have to go back
* to the libc malloc all the time */