aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-06-13 13:12:24 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2022-06-13 13:12:31 +0200
commit0664a3e60f02b9634adbbe05a24b7757ebf00d55 (patch)
treee67bc9c981e68028f1bdbeebedad06c771023570
parentcbsp: Add enum and value string for Cause (diff)
downloadlibosmocore-0664a3e60f02b9634adbbe05a24b7757ebf00d55.tar.xz
libosmocore-0664a3e60f02b9634adbbe05a24b7757ebf00d55.zip
iuup: Add missing state to bitmask for st SMpSDU_Data_Transfer_Ready
The event is expected since the user of the IuUP stack can send a CONFIGURE.req to transition to state null. The handling was already there in the function, but the bit was missing in the FSM definition. Change-Id: I830835a5b8b98f8b91b866f5280f508098c9ae7e
-rw-r--r--src/gsm/iuup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gsm/iuup.c b/src/gsm/iuup.c
index 2c703079..bd9e82cb 100644
--- a/src/gsm/iuup.c
+++ b/src/gsm/iuup.c
@@ -826,7 +826,8 @@ static const struct osmo_fsm_state iuup_fsm_states[] = {
.action = iuup_fsm_init,
},
[IUUP_FSM_ST_SMpSDU_DATA_XFER_READY] = {
- .in_event_mask = S(IUUP_FSM_EVT_IUUP_DATA_REQ) |
+ .in_event_mask = S(IUUP_FSM_EVT_IUUP_CONFIG_REQ) |
+ S(IUUP_FSM_EVT_IUUP_DATA_REQ) |
S(IUUP_FSM_EVT_IUUP_DATA_IND),
.out_state_mask = S(IUUP_FSM_ST_NULL) |
S(IUUP_FSM_ST_INIT),