timeslot_fsm: Allow PDCH_ACT_ACK in BORKEN state.

It should be fine if we receive PDCH_ACT_ACK late. We should just go
into the PDCH state as normal.

Change-Id: If816b681e0b2e76fb7122cf211e15eeee92451ee
This commit is contained in:
Alexander Chemeris 2020-05-09 22:27:07 +03:00
parent bd59b27ae3
commit 0ae129e9f0
1 changed files with 8 additions and 0 deletions

View File

@ -668,6 +668,12 @@ static void ts_fsm_borken(struct osmo_fsm_inst *fi, uint32_t event, void *data)
return;
}
case TS_EV_PDCH_ACT_ACK:
/* Late PDCH activation ACK is not a crime.
* Just go into the PDCH mode as normal. */
osmo_fsm_inst_state_chg(fi, TS_ST_PDCH, 0, 0);
return;
default:
OSMO_ASSERT(false);
}
@ -820,9 +826,11 @@ static const struct osmo_fsm_state ts_fsm_states[] = {
.in_event_mask = 0
| S(TS_EV_LCHAN_REQUESTED)
| S(TS_EV_LCHAN_UNUSED)
| S(TS_EV_PDCH_ACT_ACK)
,
.out_state_mask = 0
| S(TS_ST_NOT_INITIALIZED)
| S(TS_ST_PDCH)
,
},