diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-11-10 15:09:52 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-11-10 15:12:38 +0100 |
commit | 48eb374a9640aab799958590ef35dc3d1bdebefb (patch) | |
tree | 85fe3998d30c6e306ba0ac204f5164cf3b7a8489 /src | |
parent | 2fa6ef26879607ab01795259720857091e76d852 (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
Diffstat (limited to 'src')
-rw-r--r-- | src/common/bts.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/bts.c b/src/common/bts.c index 39ade983..c7d36df8 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); |