[PATCH] osmo-bsc[master]: mgcp: add missing out state

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Wed Nov 8 17:35:20 UTC 2017


Review at  https://gerrit.osmocom.org/4745

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(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/45/4745/1

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: newchange
Gerrit-Change-Id: Ic67aa7c67a4e98a38bff156be3ebf612012eb842
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>



More information about the gerrit-log mailing list