From b8e8da11508421dc5a58684342bc42519afa4d37 Mon Sep 17 00:00:00 2001 From: squishy me <69491904+Leon777-coder@users.noreply.github.com> Date: Mon, 20 Nov 2023 21:52:52 +0800 Subject: [PATCH] Update handler.go delete the else and added break --- internal/gmm/handler.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/internal/gmm/handler.go b/internal/gmm/handler.go index 523f587b..dc65b1b8 100644 --- a/internal/gmm/handler.go +++ b/internal/gmm/handler.go @@ -1127,14 +1127,10 @@ func handleRequestedNssai(ue *context.AmfUe, anType models.AccessType) error { } if !amfSelf.InPlmnSupportList(reqSnssai) { - - //ngap_message.SendRerouteNasRequest(ue, anType, nil, ue.RanUe[anType].InitialUEMessage, &allowedNssaiNgap) needSliceSelection = true - } else { - - } + break + } } - if needSliceSelection { if ue.NssfUri == "" { for {