aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-11-10 15:09:52 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-11-10 15:12:38 +0100
commit48eb374a9640aab799958590ef35dc3d1bdebefb (patch)
tree85fe3998d30c6e306ba0ac204f5164cf3b7a8489
parent2fa6ef26879607ab01795259720857091e76d852 (diff)
bts: Start with the site manager being enabled and available
We would never transition the sitemanager to anything. Our SW does not support SW activation's so we are always ready. Related: ONW#1330
-rw-r--r--src/common/bts.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/bts.c b/src/common/bts.c
index 39ade98..c7d36df 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -111,6 +111,9 @@ int bts_init(struct gsm_bts *bts)
/* default RADIO_LINK_TIMEOUT */
btsb->radio_link_timeout = 32;
+ /* Start with the site manager */
+ oml_mo_state_init(&bts->site_mgr.mo, NM_OPSTATE_ENABLED, NM_AVSTATE_OK);
+
/* set BTS to dependency */
oml_mo_state_init(&bts->mo, -1, NM_AVSTATE_DEPENDENCY);
oml_mo_state_init(&bts->gprs.nse.mo, -1, NM_AVSTATE_DEPENDENCY);