diff --git a/src/smf/n4-handler.c b/src/smf/n4-handler.c index 0aa4d6643..948075b75 100644 --- a/src/smf/n4-handler.c +++ b/src/smf/n4-handler.c @@ -485,7 +485,6 @@ void smf_5gc_n4_handle_session_modification_response( ogs_assert(stream); ogs_assert(flags & OGS_PFCP_MODIFY_SESSION); - n1smbuf = gsm_build_pdu_session_modification_command( sess, sess->pti, OGS_NAS_QOS_CODE_DELETE_EXISTING_QOS_RULE, diff --git a/src/smf/smf-sm.c b/src/smf/smf-sm.c index 297ef6dcf..9a9a618af 100644 --- a/src/smf/smf-sm.c +++ b/src/smf/smf-sm.c @@ -822,6 +822,8 @@ void smf_state_operational(ogs_fsm_t *s, smf_event_t *e) ogs_assert(sess); ogs_assert(OGS_FSM_STATE(&sess->sm)); + sess->pti = nas_message.gsm.h.procedure_transaction_identity; + e->nas.message = &nas_message; ogs_fsm_dispatch(&sess->sm, e);