From 488b84cb4632fc081a4426028542a057ed30352e Mon Sep 17 00:00:00 2001
From: "Wilson W.K. Thong" <wilsonthong@astri.org>
Date: Fri, 2 Dec 2016 18:41:50 +0800
Subject: [PATCH] fixing thread busy crash: disabled timing consuming NAS logs

see issue #44
---
 openair3/NAS/COMMON/IES/EsmMessageContainer.c | 2 +-
 openair3/NAS/COMMON/UTIL/TLVDecoder.h         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/openair3/NAS/COMMON/IES/EsmMessageContainer.c b/openair3/NAS/COMMON/IES/EsmMessageContainer.c
index 1a7f88d299..a223f36820 100644
--- a/openair3/NAS/COMMON/IES/EsmMessageContainer.c
+++ b/openair3/NAS/COMMON/IES/EsmMessageContainer.c
@@ -28,7 +28,7 @@
 #include "EsmMessageContainer.h"
 #include "nas_log.h"
 
-#define NAS_DEBUG 1
+//#define NAS_DEBUG 1
 
 int decode_esm_message_container(EsmMessageContainer *esmmessagecontainer, uint8_t iei, uint8_t *buffer, uint32_t len)
 {
diff --git a/openair3/NAS/COMMON/UTIL/TLVDecoder.h b/openair3/NAS/COMMON/UTIL/TLVDecoder.h
index 801ab77c8d..37834c5660 100644
--- a/openair3/NAS/COMMON/UTIL/TLVDecoder.h
+++ b/openair3/NAS/COMMON/UTIL/TLVDecoder.h
@@ -26,7 +26,7 @@
 #include "nas_log.h"
 
 #ifndef NAS_DEBUG
-# define NAS_DEBUG 1
+//# define NAS_DEBUG 1
 #endif
 
 #define DECODE_U8(bUFFER, vALUE, sIZE)    \
-- 
GitLab