From 4fe5258a23ea887ca1199dbad56b9a274ce049af Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Thu, 19 Apr 2018 18:19:38 +0200 Subject: [PATCH] fix packing/unpacking of esm info request msg --- lib/src/asn1/liblte_mme.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/asn1/liblte_mme.cc b/lib/src/asn1/liblte_mme.cc index e6ac256bd..fd8e120f8 100644 --- a/lib/src/asn1/liblte_mme.cc +++ b/lib/src/asn1/liblte_mme.cc @@ -9962,7 +9962,7 @@ LIBLTE_ERROR_ENUM srslte_mme_pack_esm_information_request_msg(LIBLTE_MME_ESM_INF if(LIBLTE_MME_SECURITY_HDR_TYPE_PLAIN_NAS != sec_hdr_type) { // Protocol Discriminator and Security Header Type - *msg_ptr = (sec_hdr_type << 4) | (LIBLTE_MME_PD_EPS_SESSION_MANAGEMENT); + *msg_ptr = (sec_hdr_type << 4) | (LIBLTE_MME_PD_EPS_MOBILITY_MANAGEMENT); msg_ptr++; // MAC will be filled in later @@ -10160,7 +10160,7 @@ LIBLTE_ERROR_ENUM srslte_mme_unpack_esm_information_response_msg(LIBLTE_BYTE_MSG { msg_ptr++; }else{ - msg_ptr += 7; + msg_ptr += 6; } // EPS Bearer ID esm_info_resp->eps_bearer_id = (*msg_ptr >> 4);