diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2020-05-09 22:27:07 +0300 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2020-05-09 22:27:07 +0300 |
commit | 0ae129e9f0d8a632c1d02cde0d26697b751a35b2 (patch) | |
tree | c765311ff426269e85ce3ba6dac0321c51d6aee5 | |
parent | bd59b27ae36fcfb73c9e82bf21e0531852779ea5 (diff) |
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
-rw-r--r-- | src/osmo-bsc/timeslot_fsm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/osmo-bsc/timeslot_fsm.c b/src/osmo-bsc/timeslot_fsm.c index 91b6b54ea..f8adfb6c7 100644 --- a/src/osmo-bsc/timeslot_fsm.c +++ b/src/osmo-bsc/timeslot_fsm.c @@ -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) , }, |