From 2a4c077fca609711902ab8ed713500a6ac654200 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Wed, 8 Nov 2017 10:33:59 +0100 Subject: 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 --- src/osmo-bsc/osmo_bsc_mgcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/osmo-bsc/osmo_bsc_mgcp.c') 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, }, -- cgit v1.2.3