lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmocore/+/22316 )


Change subject: gprs_ns2_vc_fsm: fix transitions for ALIVE state
......................................................................

gprs_ns2_vc_fsm: fix transitions for ALIVE state

Alive can never reach RESET. However ALIVE -> ALIVE is allowed.

Change-Id: Ic414d7ca96b1ec6db1665cd4c072c7ebbee787f1
---
M src/gb/gprs_ns2_vc_fsm.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/16/22316/1

diff --git a/src/gb/gprs_ns2_vc_fsm.c b/src/gb/gprs_ns2_vc_fsm.c
index e5057d4..e7c959e 100644
--- a/src/gb/gprs_ns2_vc_fsm.c
+++ b/src/gb/gprs_ns2_vc_fsm.c
@@ -463,7 +463,7 @@
        /* 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",

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/22316
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ic414d7ca96b1ec6db1665cd4c072c7ebbee787f1
Gerrit-Change-Number: 22316
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lyn...@fe80.eu>
Gerrit-MessageType: newchange

Reply via email to