Skip to content

Commit

Permalink
Update gnodeb/worker/gnbamfworker/handler.go
Browse files Browse the repository at this point in the history
Co-authored-by: gab-arrobo <[email protected]>
  • Loading branch information
thakurajayL and gab-arrobo committed Jan 19, 2024
1 parent 73c526c commit 39b35d1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions gnodeb/worker/gnbamfworker/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func HandleInitialContextSetupRequest(gnb *gnbctx.GNodeB, amf *gnbctx.GnbAmf,
func HandlePduSessResourceSetupRequest(gnb *gnbctx.GNodeB, amf *gnbctx.GnbAmf,
pdu *ngapType.NGAPPDU, id uint64) {

if amf == nil {
if amf == nil {
amf = new(gnbctx.GnbAmf)
amf.Log.Errorln("ran is nil")
return
Expand Down Expand Up @@ -363,9 +363,6 @@ func HandlePduSessResourceSetupRequest(gnb *gnbctx.GNodeB, amf *gnbctx.GnbAmf,

func HandlePduSessResourceReleaseCommand(gnb *gnbctx.GNodeB, amf *gnbctx.GnbAmf,
pdu *ngapType.NGAPPDU, id uint64) {
amf.Log.Traceln("Processing Pdu Session Resource Release Command")
var gnbUeNgapId *ngapType.RANUENGAPID

if amf == nil {
amf = new(gnbctx.GnbAmf)
amf.Log.Errorln("ran is nil")
Expand Down

0 comments on commit 39b35d1

Please sign in to comment.