diff options
| -rw-r--r-- | core/mac/src/include/sir_debug.h | 3 | ||||
| -rw-r--r-- | core/mac/src/sys/legacy/src/utils/src/log_api.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/core/mac/src/include/sir_debug.h b/core/mac/src/include/sir_debug.h index c038523cf784..99b246d6d29c 100644 --- a/core/mac/src/include/sir_debug.h +++ b/core/mac/src/include/sir_debug.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2012, 2014-2015 The Linux Foundation. All rights reserved. + * Copyright (c) 2011-2012, 2014-2015, 2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -41,6 +41,7 @@ #define LOG2 5 #define LOG3 6 #define LOG4 7 +#define LOGD 8 #ifdef WLAN_MDM_CODE_REDUCTION_OPT #ifdef PE_DEBUG_LOGE diff --git a/core/mac/src/sys/legacy/src/utils/src/log_api.c b/core/mac/src/sys/legacy/src/utils/src/log_api.c index 6e571622c046..521168c8f008 100644 --- a/core/mac/src/sys/legacy/src/utils/src/log_api.c +++ b/core/mac/src/sys/legacy/src/utils/src/log_api.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -149,8 +149,9 @@ QDF_TRACE_LEVEL get_vos_debug_level(uint32_t debugLevel) return QDF_TRACE_LEVEL_INFO_MED; case LOG4: return QDF_TRACE_LEVEL_INFO_LOW; + case LOGD: default: - return QDF_TRACE_LEVEL_INFO_LOW; + return QDF_TRACE_LEVEL_DEBUG; } } |
