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
This commit is contained in:

committed by
qcabuildsw

parent
90cdd3cda2
commit
6147c58dff
@@ -133,7 +133,7 @@ typedef struct timer_list A_TIMER;
|
||||
})
|
||||
#endif /* wait_event_interruptible_timeout */
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef WLAN_DEBUG
|
||||
#ifdef A_SIMOS_DEVHOST
|
||||
extern unsigned int panic_on_assert;
|
||||
#define A_ASSERT(expr) \
|
||||
|
Reference in New Issue
Block a user