From 359882fd49b77fee1b4b33fa9c1cfbe541f83623 Mon Sep 17 00:00:00 2001 From: Bostjan Meglic Date: Fri, 10 Mar 2023 06:25:11 +0000 Subject: [PATCH] [AMF] Fix handling Service Request In case that handling Service Request results in an error, AMF sends a Service Reject and sets UE's context to exception state. Without the 'break', the code would set UE's context to registered state. --- src/amf/gmm-sm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amf/gmm-sm.c b/src/amf/gmm-sm.c index d89d20eb8..71a25c60e 100644 --- a/src/amf/gmm-sm.c +++ b/src/amf/gmm-sm.c @@ -1142,6 +1142,7 @@ static void common_register_state(ogs_fsm_t *s, amf_event_t *e, ogs_expect(r == OGS_OK); ogs_assert(r != OGS_ERROR); OGS_FSM_TRAN(s, gmm_state_exception); + break; } OGS_FSM_TRAN(s, gmm_state_registered);