summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-01-05 17:57:20 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-01-05 17:58:07 -0500
commit8271195e38d01f3551bb10b1c7de856cd8507882 (patch)
treec399127301b70407350df666c5667b0e62c58fcf /net/wireless
parent4f9b2a7dea2bf1dd81f280aa5e8a40ed910d2f0a (diff)
downloadop-kernel-dev-8271195e38d01f3551bb10b1c7de856cd8507882.zip
op-kernel-dev-8271195e38d01f3551bb10b1c7de856cd8507882.tar.gz
wireless: fix build breakage when CONFIG_CFG80211_REG_DEBUG not set
Bad macro definition in "cfg80211: add a regulatory debug print"... Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/reg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 89c3e68..f79d661 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -44,12 +44,12 @@
#include "nl80211.h"
#ifdef CONFIG_CFG80211_REG_DEBUG
-#define REG_DBG_PRINT(args...) \
+#define REG_DBG_PRINT(format, args...) \
do { \
- printk(KERN_DEBUG args); \
+ printk(KERN_DEBUG format , ## args); \
} while (0)
#else
-#define REG_DBG_PRINT(args)
+#define REG_DBG_PRINT(args...)
#endif
/* Receipt of information from last regulatory request */
OpenPOWER on IntegriCloud