aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2020-06-24 11:47:28 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2020-06-24 11:49:59 +0200
commit68b775b2d3c2941fb7b904382dc42860ce64eeca (patch)
treef095d91f964e5fd67402cf98ee9d6aada1afba7b
parente174c05b650cccd4a90dbda77e0bc1d53ef7b566 (diff)
lchan_rtp_fsm: fix out_state_mask
In the state LCHAN_RTP_ST_WAIT_MGW_ENDPOINT_CONFIGURED, the event LCHAN_RTP_EV_ROLLBACK is allowed and also handled in the action callback, which causes a change to LCHAN_RTP_ST_ROLLBACK. However, LCHAN_RTP_ST_ROLLBACK is missing from the out_state_mask. Change-Id: Ifca3892901c8389beee6e4f0fea03c33cfbdc265
-rw-r--r--src/osmo-bsc/lchan_rtp_fsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bsc/lchan_rtp_fsm.c b/src/osmo-bsc/lchan_rtp_fsm.c
index 25aca1409..4be979002 100644
--- a/src/osmo-bsc/lchan_rtp_fsm.c
+++ b/src/osmo-bsc/lchan_rtp_fsm.c
@@ -672,6 +672,7 @@ static const struct osmo_fsm_state lchan_rtp_fsm_states[] = {
,
.out_state_mask = 0
| S(LCHAN_RTP_ST_READY)
+ | S(LCHAN_RTP_ST_ROLLBACK)
,
},
[LCHAN_RTP_ST_READY] = {