diff options
| author | Srinivas Girigowda <sgirigow@codeaurora.org> | 2016-10-19 16:01:31 -0700 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-10-20 01:38:39 -0700 |
| commit | d865981c412fbf154757faa807d62f0855b0f488 (patch) | |
| tree | c8ad37c9b83d9c04d2aed99af875b9e10311596e /qdf/linux/src | |
| parent | 8327bc4ef57ae116170397958886b1923549881d (diff) | |
qcacmn: Replace DEBUG macro with WLAN_DEBUG
This is a qcacld-2.0 to qcacld-3.0 propagation.
pr_debug() should not appear by default in kernel log (kmsg).
DEBUG is a kernel macro, since host driver is using the same name macro,
pr_debug log statements are appearing in kmsg.
Fix this by moving the code under DEBUG to WLAN_DEBUG and
remove DEBUG macro from Kbuild.
Change-Id: I5bb385f91f9b6ba15629a5878625fefc21d4a7e1
CRs-Fixed: 1003261
Diffstat (limited to 'qdf/linux/src')
| -rw-r--r-- | qdf/linux/src/i_qdf_trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qdf/linux/src/i_qdf_trace.h b/qdf/linux/src/i_qdf_trace.h index 6cd100cbe060..124ebfb2c64b 100644 --- a/qdf/linux/src/i_qdf_trace.h +++ b/qdf/linux/src/i_qdf_trace.h @@ -53,7 +53,7 @@ * This allows us to build 'performance' builds where we can measure performance * without being bogged down by all the tracing in the code */ -#if defined(WLAN_DEBUG) +#if defined(WLAN_DEBUG) || defined(DEBUG) #define QDF_TRACE qdf_trace_msg #define QDF_TRACE_HEX_DUMP qdf_trace_hex_dump #else |
