Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8271195e authored by John W. Linville's avatar John W. Linville
Browse files

wireless: fix build breakage when CONFIG_CFG80211_REG_DEBUG not set



Bad macro definition in "cfg80211: add a regulatory debug print"...

Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4f9b2a7d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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 */