for test..disable NAS MAC check

This commit is contained in:
Sukchan Lee 2018-01-19 04:49:41 +09:00
parent f35aa2178f
commit 52c6504c65
1 changed files with 4 additions and 0 deletions

View File

@ -151,7 +151,9 @@ status_t nas_security_decode(mme_ue_t *mme_ue,
if (memcmp(mac + 2, pkbuf->payload + 2, 2) != 0)
{
d_error("NAS MAC verification failed");
#if 0
mme_ue->mac_failed = 1;
#endif
}
return CORE_OK;
@ -215,7 +217,9 @@ status_t nas_security_decode(mme_ue_t *mme_ue,
{
d_warn("NAS MAC verification failed(0x%x != 0x%x)",
ntohl(h->message_authentication_code), ntohl(mac32));
#if 0
mme_ue->mac_failed = 1;
#endif
}
}