Removed unused value in ECM ctx

master
Pedro Alvarez 7 years ago
parent af927eb1d8
commit 47b574a3ba

@ -140,7 +140,6 @@ typedef struct{
uint64_t imsi; uint64_t imsi;
uint32_t enb_ue_s1ap_id; uint32_t enb_ue_s1ap_id;
uint32_t mme_ue_s1ap_id; uint32_t mme_ue_s1ap_id;
uint16_t enb_id;
struct sctp_sndrcvinfo enb_sri; struct sctp_sndrcvinfo enb_sri;
ecm_state_t ecm_state; ecm_state_t ecm_state;
bool eit; bool eit;

@ -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.imsi = ue_emm_ctx.imsi;
ue_ecm_ctx.mme_ue_s1ap_id = ue_emm_ctx.mme_ue_s1ap_id; ue_ecm_ctx.mme_ue_s1ap_id = ue_emm_ctx.mme_ue_s1ap_id;
//Set eNB information //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)); memcpy(&ue_ecm_ctx.enb_sri, enb_sri, sizeof(struct sctp_sndrcvinfo));
//Save whether secure ESM information transfer is necessary //Save whether secure ESM information transfer is necessary

Loading…
Cancel
Save