diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-01-05 17:57:20 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-05 17:58:07 -0500 |
commit | 8271195e38d01f3551bb10b1c7de856cd8507882 (patch) | |
tree | c399127301b70407350df666c5667b0e62c58fcf /net | |
parent | 4f9b2a7dea2bf1dd81f280aa5e8a40ed910d2f0a (diff) | |
download | blackbird-obmc-linux-8271195e38d01f3551bb10b1c7de856cd8507882.tar.gz blackbird-obmc-linux-8271195e38d01f3551bb10b1c7de856cd8507882.zip |
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.c | 6 |
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 @@ #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 */ |