From 1c21d51822d0c0a9aabfd71ea08d385787621346 Mon Sep 17 00:00:00 2001 From: donald1218 Date: Wed, 18 Sep 2024 07:51:45 +0000 Subject: [PATCH] fix: change release ue context cause --- internal/gmm/common/user_profile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/gmm/common/user_profile.go b/internal/gmm/common/user_profile.go index 6787926..4ece2af 100644 --- a/internal/gmm/common/user_profile.go +++ b/internal/gmm/common/user_profile.go @@ -78,8 +78,8 @@ func AttachRanUeToAmfUeAndReleaseOldHandover(amfUe *context.AmfUe, sourceRanUe, amfUe.State[targetRanUe.Ran.AnType].Set(context.Registered) } StopAll5GSMMTimers(amfUe) - causeGroup := ngapType.CausePresentNas - causeValue := ngapType.CauseNasPresentNormalRelease + causeGroup := ngapType.CausePresentRadioNetwork + causeValue := ngapType.CauseRadioNetworkPresentSuccessfulHandover ngap_message.SendUEContextReleaseCommand(sourceRanUe, context.UeContextReleaseHandover, causeGroup, causeValue) } else { // This function will be call only by N2 Handover, so we can assume sourceRanUe will not be nil