From 5bb0da4e4fb300f0e03dc77c34b511b98aaa8374 Mon Sep 17 00:00:00 2001 From: donald1218 Date: Fri, 12 Jul 2024 14:57:21 +0000 Subject: [PATCH] fix: add HoldingRanue --- internal/ngap/handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/ngap/handler.go b/internal/ngap/handler.go index bc61c6b..8f2dcbb 100644 --- a/internal/ngap/handler.go +++ b/internal/ngap/handler.go @@ -498,6 +498,7 @@ func handleInitialUEMessageMain(ran *context.AmfRan, // Described in TS 23.502 4.2.2.2.2 step 4 (without UDSF deployment) ranUe.Log.Infof("find AmfUe [%q:%q]", idType, id) ranUe.Log.Debugf("AmfUe Attach RanUe [RanUeNgapID: %d]", ranUe.RanUeNgapId) + amfUe.HoldingRanUe[ranUe.Ran.AnType] = amfUe.RanUe[ranUe.Ran.AnType] gmm_common.AttachRanUeToAmfUeAndReleaseOldIfAny(amfUe, ranUe) } else if regReqType != nasMessage.RegistrationType5GSInitialRegistration { if regReqType == nasMessage.RegistrationType5GSPeriodicRegistrationUpdating ||