forked from acouzens/open5gs
[AMF] Fix for switching state when sending Deregistration Request fails
Provide pointer to state machine, instead of pointer to timer structure. Bug was noticed when switching compiler optimization to -O2.
This commit is contained in:
parent
4b26dd2a5c
commit
f71022ad4a
|
@ -450,7 +450,7 @@ static void common_register_state(ogs_fsm_t *s, amf_event_t *e)
|
|||
ogs_warn("Retransmission of Deregistration-Request failed. "
|
||||
"Stop retransmission");
|
||||
CLEAR_AMF_UE_TIMER(amf_ue->t3522);
|
||||
OGS_FSM_TRAN(&amf_ue->t3522, &gmm_state_exception);
|
||||
OGS_FSM_TRAN(&amf_ue->sm, &gmm_state_exception);
|
||||
} else {
|
||||
amf_ue->t3522.retry_count++;
|
||||
ogs_assert(OGS_OK ==
|
||||
|
|
Loading…
Reference in New Issue