Skip to content

Commit

Permalink
fix: change release ue context cause
Browse files Browse the repository at this point in the history
  • Loading branch information
donald1218 committed Sep 18, 2024
1 parent cc4682b commit 1c21d51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/gmm/common/user_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c21d51

Please sign in to comment.