aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-10-15 16:30:35 +0200
committerHarald Welte <laforge@gnumonks.org>2016-10-15 16:37:15 +0200
commit51ce33f154edb59c117c3c404c307b3498b2c47a (patch)
tree47579084170e2c1229ea8396d3caadd39c451a7b
parent29ff1a5adcff61568c030905177d184c98f59f16 (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,