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
This commit is contained in:
Pau Espin 2022-06-13 13:12:24 +02:00
parent 0cdd0abd53
commit 0664a3e60f
1 changed files with 2 additions and 1 deletions

View File

@ -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),