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>
This commit is contained in:
John W. Linville 2010-01-05 17:57:20 -05:00
parent 4f9b2a7dea
commit 8271195e38
1 changed files with 3 additions and 3 deletions

View File

@ -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 */