aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/timeslot_fsm.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-07-27 16:10:16 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-07-28 12:18:23 +0200
commit18ce10b7b113480a43c0b11513aaf387a4a865a5 (patch)
tree74662c42feba842544beb2e8b76fecc6953bcdd7 /src/osmo-bsc/timeslot_fsm.c
parent52b5298eab4f6359c22eab9d6637c6d1f3b19ffa (diff)
timeslot FSM: permit entering broken state from anywhere
Diffstat (limited to 'src/osmo-bsc/timeslot_fsm.c')
-rw-r--r--src/osmo-bsc/timeslot_fsm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/osmo-bsc/timeslot_fsm.c b/src/osmo-bsc/timeslot_fsm.c
index 4514f3406..21de2fa67 100644
--- a/src/osmo-bsc/timeslot_fsm.c
+++ b/src/osmo-bsc/timeslot_fsm.c
@@ -720,6 +720,7 @@ static const struct osmo_fsm_state ts_fsm_states[] = {
,
.out_state_mask = 0
| S(TS_ST_UNUSED)
+ | S(TS_ST_BORKEN)
,
},
[TS_ST_UNUSED] = {
@@ -734,6 +735,7 @@ static const struct osmo_fsm_state ts_fsm_states[] = {
| S(TS_ST_WAIT_PDCH_ACT)
| S(TS_ST_IN_USE)
| S(TS_ST_NOT_INITIALIZED)
+ | S(TS_ST_BORKEN)
,
},
[TS_ST_WAIT_PDCH_ACT] = {
@@ -764,6 +766,7 @@ static const struct osmo_fsm_state ts_fsm_states[] = {
.out_state_mask = 0
| S(TS_ST_WAIT_PDCH_DEACT)
| S(TS_ST_NOT_INITIALIZED)
+ | S(TS_ST_BORKEN)
,
},
[TS_ST_WAIT_PDCH_DEACT] = {
@@ -781,6 +784,7 @@ static const struct osmo_fsm_state ts_fsm_states[] = {
| S(TS_ST_UNUSED)
| S(TS_ST_BORKEN)
| S(TS_ST_NOT_INITIALIZED)
+ | S(TS_ST_BORKEN)
,
},
[TS_ST_IN_USE] = {
@@ -794,6 +798,7 @@ static const struct osmo_fsm_state ts_fsm_states[] = {
.out_state_mask = 0
| S(TS_ST_UNUSED)
| S(TS_ST_NOT_INITIALIZED)
+ | S(TS_ST_BORKEN)
,
},
[TS_ST_BORKEN] = {