diff options
author | Harald Welte <laforge@gnumonks.org> | 2013-06-30 15:05:09 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2013-06-30 15:09:35 +0200 |
commit | 48eca2524cb960b4ea430e228fcb80be73a512f5 (patch) | |
tree | 2cfadb49aa9ef9341c7bd8af78ebd296808441d1 /include/osmo-bts/oml.h | |
parent | 0089ce417822d989778c8a5f362f402578873897 (diff) |
Don't send OML STATE CHANGE before OML is connected
Instead of calling oml_mo_state_chg() [which transmits OML STATE CHG]
during bts_init(), we use a new oml_mo_state_init() function which
simply sets the state.
Diffstat (limited to 'include/osmo-bts/oml.h')
-rw-r--r-- | include/osmo-bts/oml.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmo-bts/oml.h b/include/osmo-bts/oml.h index 0fdb95f5..01c127a5 100644 --- a/include/osmo-bts/oml.h +++ b/include/osmo-bts/oml.h @@ -14,6 +14,9 @@ int oml_mo_statechg_ack(struct gsm_abis_mo *mo); /* Change the state and send STATE CHG REP */ int oml_mo_state_chg(struct gsm_abis_mo *mo, int op_state, int avail_state); +/* First initialization of MO, does _not_ generate state changes */ +int oml_mo_state_init(struct gsm_abis_mo *mo, int op_state, int avail_state); + /* Transmit STATE CHG REP even if there was no state change */ int oml_tx_state_changed(struct gsm_abis_mo *mo); |