aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-10-15 16:30:35 +0200
committerPhilipp <pmaier@sysmocom.de>2016-10-19 10:16:27 +0200
commit51dcc65be03e388910187ea8cb31dec559745107 (patch)
tree7d0f252d0e6239279935924e6dc94dfe3d7f7306
parent54a0a25395ba752d1d77a82c2a3e435198e8af95 (diff)
OM2000: Fix state machien for CF/TRXC on START Result
When receiving the 'Start Result' message, for CF and TRXC MO we directly transition to performing the Operational Info. In that case, we need to return after sending the Operational Info and skip the usual processing for the default case below. Change-Id: I99860d198b337ffe461b240bda20dc10e1b5b2cb
-rw-r--r--openbsc/src/libbsc/abis_om2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libbsc/abis_om2000.c b/openbsc/src/libbsc/abis_om2000.c
index 58d86c64a..aeac87614 100644
--- a/openbsc/src/libbsc/abis_om2000.c
+++ b/openbsc/src/libbsc/abis_om2000.c
@@ -1518,7 +1518,7 @@ static void om2k_mo_st_wait_start_res(struct osmo_fsm_inst *fi, uint32_t event,
osmo_fsm_inst_state_chg(fi, OM2K_ST_WAIT_OPINFO_ACCEPT,
OM2K_TIMEOUT, 0);
abis_om2k_tx_op_info(omfp->trx->bts, &omfp->mo->addr, 1);
- break;
+ return;
case OM2K_MO_CLS_DP:
/* Transition directoy to WAIT_ENABLE_ACCEPT */
osmo_fsm_inst_state_chg(fi, OM2K_ST_WAIT_ENABLE_ACCEPT,