summaryrefslogtreecommitdiff
path: root/core/bmi/src
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2016-10-18 12:26:15 -0700
committerqcabuildsw <qcabuildsw@localhost>2016-10-19 10:45:28 -0700
commit6147c58dff00905c59dc4f432e6487aa8d278bb6 (patch)
tree0f87572368dae0050b7e36d61a3a50c906684fb1 /core/bmi/src
parent90cdd3cda25c21295ca5b54297f970b25bd02f84 (diff)
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
Diffstat (limited to 'core/bmi/src')
-rw-r--r--core/bmi/src/ol_fw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bmi/src/ol_fw.c b/core/bmi/src/ol_fw.c
index a5fbb0222b62..6eb34d64391a 100644
--- a/core/bmi/src/ol_fw.c
+++ b/core/bmi/src/ol_fw.c
@@ -527,7 +527,7 @@ void ramdump_work_handler(void *data)
}
tgt_info = hif_get_target_info_handle(ramdump_scn);
target_type = tgt_info->target_type;
-#ifdef DEBUG
+#ifdef WLAN_DEBUG
ret = hif_check_soc_status(ramdump_scn);
if (ret)
goto out_fail;