From 6147c58dff00905c59dc4f432e6487aa8d278bb6 Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Tue, 18 Oct 2016 12:26:15 -0700 Subject: qcacld-3.0: 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 --- core/utils/fwlog/dbglog_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/utils') diff --git a/core/utils/fwlog/dbglog_host.c b/core/utils/fwlog/dbglog_host.c index c4c52b8760e0..07441d4c5009 100644 --- a/core/utils/fwlog/dbglog_host.c +++ b/core/utils/fwlog/dbglog_host.c @@ -53,7 +53,7 @@ #include #define FWLOG_DEBUG ATH_DEBUG_MAKE_MODULE_MASK(0) -#if defined(DEBUG) +#ifdef WLAN_DEBUG static int get_version; static int gprint_limiter; -- cgit v1.2.3