rtlwifi: btcoexist: avoid format string in printk

Recent changes to this driver inadvertently reverted the change made by Kees
Cook in commit 6437f51ec3.

Reported-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Larry Finger 2014-09-11 19:02:10 -05:00 committed by John W. Linville
parent 4307b0fe22
commit 6b5447ce63

View File

@ -117,7 +117,7 @@ extern u32 btc_dbg_type[];
#define WIFI_P2P_GC_CONNECTED BIT4
#define CL_SPRINTF snprintf
#define CL_PRINTF printk
#define CL_PRINTF(buf) printk("%s", buf)
#define BTC_PRINT(dbgtype, dbgflag, printstr, ...) \
do { \