From 47b574a3bad5367438fda844b1c747a85bec4e3e Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Tue, 6 Feb 2018 18:59:53 +0000 Subject: [PATCH] Removed unused value in ECM ctx --- srsepc/hdr/mme/s1ap_common.h | 1 - srsepc/src/mme/s1ap_nas_transport.cc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/srsepc/hdr/mme/s1ap_common.h b/srsepc/hdr/mme/s1ap_common.h index 7e12f8ed4..84ced0637 100644 --- a/srsepc/hdr/mme/s1ap_common.h +++ b/srsepc/hdr/mme/s1ap_common.h @@ -140,7 +140,6 @@ typedef struct{ uint64_t imsi; uint32_t enb_ue_s1ap_id; uint32_t mme_ue_s1ap_id; - uint16_t enb_id; struct sctp_sndrcvinfo enb_sri; ecm_state_t ecm_state; bool eit; diff --git a/srsepc/src/mme/s1ap_nas_transport.cc b/srsepc/src/mme/s1ap_nas_transport.cc index 6bbab6947..76719efbe 100644 --- a/srsepc/src/mme/s1ap_nas_transport.cc +++ b/srsepc/src/mme/s1ap_nas_transport.cc @@ -270,7 +270,7 @@ s1ap_nas_transport::handle_nas_imsi_attach_request(uint32_t enb_ue_s1ap_id, ue_ecm_ctx.imsi = ue_emm_ctx.imsi; ue_ecm_ctx.mme_ue_s1ap_id = ue_emm_ctx.mme_ue_s1ap_id; //Set eNB information - ue_ecm_ctx.enb_id = enb_ue_s1ap_id; + ue_ecm_ctx.enb_ue_s1ap_id = enb_ue_s1ap_id; memcpy(&ue_ecm_ctx.enb_sri, enb_sri, sizeof(struct sctp_sndrcvinfo)); //Save whether secure ESM information transfer is necessary