aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-11-08 10:33:59 +0100
committerHarald Welte <laforge@gnumonks.org>2017-11-12 14:22:46 +0000
commit2a4c077fca609711902ab8ed713500a6ac654200 (patch)
tree01c62f7ba359c91dd5790c4e799ff2df77d1edb1 /src/osmo-bsc
parent7cbea545445e8b01c7779613544d2a74bf616994 (diff)
mgcp: add missing out state
Even in the very early ST_CRCX_BTS phase, the error handler may decide to go to ST_CALL in order to initate the termination of a possibly half open connection. Add ST_CALL to the out state list in ST_CRCX_BTS Change-Id: Ic67aa7c67a4e98a38bff156be3ebf612012eb842
Diffstat (limited to 'src/osmo-bsc')
-rw-r--r--src/osmo-bsc/osmo_bsc_mgcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/osmo_bsc_mgcp.c b/src/osmo-bsc/osmo_bsc_mgcp.c
index 3115422d9..aa008a8da 100644
--- a/src/osmo-bsc/osmo_bsc_mgcp.c
+++ b/src/osmo-bsc/osmo_bsc_mgcp.c
@@ -903,7 +903,7 @@ static struct osmo_fsm_state fsm_bsc_mgcp_states[] = {
/* Startup state machine, send CRCX to BTS. */
[ST_CRCX_BTS] = {
.in_event_mask = (1 << EV_INIT),
- .out_state_mask = (1 << ST_HALT) | (1 << ST_ASSIGN_PROC),
+ .out_state_mask = (1 << ST_HALT) | (1 << ST_CALL) | (1 << ST_ASSIGN_PROC),
.name = "ST_CRCX_BTS",
.action = fsm_crcx_bts_cb,
},