aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2021-01-19 17:59:45 +0100
committerlaforge <laforge@osmocom.org>2021-01-20 14:59:28 +0000
commit191c2d7de975bf6d4c384e21bf98f6bd5a807935 (patch)
treea2f3b18dfe1454ff371eb5ec99e647c9887e8469
parent1262c4f18ebea2dddc2867be901d26aa60da6e4a (diff)
gprs_ns2_vc_fsm: fix transitions for ALIVE state
Alive can never reach RESET. However ALIVE -> ALIVE is allowed. Change-Id: Ic414d7ca96b1ec6db1665cd4c072c7ebbee787f1
-rw-r--r--src/gb/gprs_ns2_vc_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gb/gprs_ns2_vc_fsm.c b/src/gb/gprs_ns2_vc_fsm.c
index 04d95f4a..5de86f52 100644
--- a/src/gb/gprs_ns2_vc_fsm.c
+++ b/src/gb/gprs_ns2_vc_fsm.c
@@ -462,7 +462,7 @@ static const struct osmo_fsm_state gprs_ns2_vc_states[] = {
/* ST_ALIVE is only used on VC without RESET/BLOCK */
[GPRS_NS2_ST_ALIVE] = {
.in_event_mask = S(GPRS_NS2_EV_RX_ALIVE_ACK),
- .out_state_mask = S(GPRS_NS2_ST_RESET) |
+ .out_state_mask = S(GPRS_NS2_ST_ALIVE) |
S(GPRS_NS2_ST_UNBLOCKED) |
S(GPRS_NS2_ST_UNCONFIGURED),
.name = "ALIVE",