diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-07-18 11:26:07 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-07-18 11:35:56 +0200 |
commit | fe1ca353bb7285f71ba1d22675c6c840770706ce (patch) | |
tree | 350df9542aac7595ba00a86a94e2fa660e6a269a /openbsc/src/libcommon/gsm_data_shared.c | |
parent | 95fd72b9f786e46f3c81bfc370c454c01f0d99ae (diff) |
bts-init: Initialize the BTS like it will look after a reset
Reset the BTS MO State on BTS bootstrap. This way we will always
test the BTS disconnect/reconnect case of the BTS.
Do not reset the administrative state of objects. The BSC might
have set these and wants to maintain them across disconnect/
reconnect. Right now this is true for the TRX state.
Diffstat (limited to 'openbsc/src/libcommon/gsm_data_shared.c')
-rw-r--r-- | openbsc/src/libcommon/gsm_data_shared.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/openbsc/src/libcommon/gsm_data_shared.c b/openbsc/src/libcommon/gsm_data_shared.c index 58e3bed66..b52d58ad2 100644 --- a/openbsc/src/libcommon/gsm_data_shared.c +++ b/openbsc/src/libcommon/gsm_data_shared.c @@ -36,7 +36,6 @@ void gsm_abis_mo_reset(struct gsm_abis_mo *mo) { - mo->nm_state.administrative = NM_STATE_NULL; mo->nm_state.operational = NM_OPSTATE_NULL; mo->nm_state.availability = NM_AVSTATE_POWER_OFF; } |