aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-11-10 13:18:59 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-11-10 13:18:59 +0100
commit2fa6ef26879607ab01795259720857091e76d852 (patch)
tree372e1301c30480eb05226962476a564dbf466577
parent6d8bcbd192d6d5bfe5077fd675e12734b72fb2be (diff)
bts: Mark NSVC1 as offline. We do not expose a second NSVC
OsmoBSC> show bts 0 ... GPRS NSVC1: Oper 'Disabled', Admin 'unknown 0x0', Avail 'Off line'
-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 75ce73e..39ade98 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -116,7 +116,7 @@ int bts_init(struct gsm_bts *bts)
oml_mo_state_init(&bts->gprs.nse.mo, -1, NM_AVSTATE_DEPENDENCY);
oml_mo_state_init(&bts->gprs.cell.mo, -1, NM_AVSTATE_DEPENDENCY);
oml_mo_state_init(&bts->gprs.nsvc[0].mo, -1, NM_AVSTATE_DEPENDENCY);
- oml_mo_state_init(&bts->gprs.nsvc[1].mo, -1, NM_AVSTATE_DEPENDENCY);
+ oml_mo_state_init(&bts->gprs.nsvc[1].mo, NM_OPSTATE_DISABLED, NM_AVSTATE_OFF_LINE);
/* initialize bts data structure */
llist_for_each_entry(trx, &bts->trx_list, list) {