projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f9b2a7
)
wireless: fix build breakage when CONFIG_CFG80211_REG_DEBUG not set
author
John W. Linville
<linville@tuxdriver.com>
Tue, 5 Jan 2010 22:57:20 +0000
(17:57 -0500)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 5 Jan 2010 22:58:07 +0000
(17:58 -0500)
Bad macro definition in "cfg80211: add a regulatory debug print"...
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/reg.c
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/reg.c
b/net/wireless/reg.c
index 89c3e68a1cc694c7e102c5d1d30fd53255db0275..f79d6613c5ff6e49115ab84c19a8c500f47a3794 100644
(file)
--- 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 */