[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.
This commit is contained in:
Bostjan Meglic 2023-03-10 06:25:11 +00:00 committed by Sukchan Lee
parent 69c080c8f2
commit 359882fd49
1 changed files with 1 additions and 0 deletions

View File

@ -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);