aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-10-15 16:30:35 +0200
committerPhilipp <pmaier@sysmocom.de>2016-11-02 12:12:37 +0100
commitcc84faebbf79b9d5663c60dd4cff152a0fddbb26 (patch)
tree5fcb7ddc2d56aaaa523738c0d90405cde90231d3
parent3710a73eee94f574313e95f32daedec498e648d3 (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,