aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
parent4f9b2a7dea2bf1dd81f280aa5e8a40ed910d2f0a (diff)
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')
-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 89c3e68a1cc6..f79d6613c5ff 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -44,12 +44,12 @@
44#include "nl80211.h" 44#include "nl80211.h"
45 45
46#ifdef CONFIG_CFG80211_REG_DEBUG 46#ifdef CONFIG_CFG80211_REG_DEBUG
47#define REG_DBG_PRINT(args...) \ 47#define REG_DBG_PRINT(format, args...) \
48 do { \ 48 do { \
49 printk(KERN_DEBUG args); \ 49 printk(KERN_DEBUG format , ## args); \
50 } while (0) 50 } while (0)
51#else 51#else
52#define REG_DBG_PRINT(args) 52#define REG_DBG_PRINT(args...)
53#endif 53#endif
54 54
55/* Receipt of information from last regulatory request */ 55/* Receipt of information from last regulatory request */