Commit 27a5ec2c authored by gauthier's avatar gauthier

bug mnc / bad shift digit index

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5863 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent ad57b90d
...@@ -2562,8 +2562,8 @@ static int _emm_attach_update(emm_data_context_t *ctx, unsigned int ueid, ...@@ -2562,8 +2562,8 @@ static int _emm_attach_update(emm_data_context_t *ctx, unsigned int ueid,
ctx->guti->gummei.plmn.MCCdigit2 = imsi->u.num.digit2; ctx->guti->gummei.plmn.MCCdigit2 = imsi->u.num.digit2;
ctx->guti->gummei.plmn.MCCdigit3 = imsi->u.num.digit3; ctx->guti->gummei.plmn.MCCdigit3 = imsi->u.num.digit3;
if (mnc_length == 2) { if (mnc_length == 2) {
ctx->guti->gummei.plmn.MNCdigit1 = imsi->u.num.digit5; ctx->guti->gummei.plmn.MNCdigit1 = imsi->u.num.digit4;
ctx->guti->gummei.plmn.MNCdigit2 = imsi->u.num.digit6; ctx->guti->gummei.plmn.MNCdigit2 = imsi->u.num.digit5;
ctx->guti->gummei.plmn.MNCdigit3 = 15; ctx->guti->gummei.plmn.MNCdigit3 = 15;
LOG_TRACE(WARNING, "EMM-PROC - Assign GUTI from IMSI %01X%01X%01X.%01X%01X.%04X.%02X.%08X to emm_data_context", LOG_TRACE(WARNING, "EMM-PROC - Assign GUTI from IMSI %01X%01X%01X.%01X%01X.%04X.%02X.%08X to emm_data_context",
ctx->guti->gummei.plmn.MCCdigit1, ctx->guti->gummei.plmn.MCCdigit1,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment