Harald Welte has submitted this change and it was merged.

Change subject: mgcp: add missing out state
......................................................................


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
---
M src/osmo-bsc/osmo_bsc_mgcp.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bsc/osmo_bsc_mgcp.c b/src/osmo-bsc/osmo_bsc_mgcp.c
index 3115422..aa008a8 100644
--- a/src/osmo-bsc/osmo_bsc_mgcp.c
+++ b/src/osmo-bsc/osmo_bsc_mgcp.c
@@ -903,7 +903,7 @@
        /* 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,
                         },

-- 
To view, visit https://gerrit.osmocom.org/4745
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic67aa7c67a4e98a38bff156be3ebf612012eb842
Gerrit-PatchSet: 2
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: dexter <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to