|
@@ -36,8 +36,10 @@
|
|
|
|
|
|
#ifdef KS_WLAN_DEBUG
|
|
|
#define DPRINTK(n, fmt, args...) \
|
|
|
- if (KS_WLAN_DEBUG > (n)) \
|
|
|
- printk(KERN_NOTICE "%s: "fmt, __FUNCTION__, ## args)
|
|
|
+ do { \
|
|
|
+ if (KS_WLAN_DEBUG > (n)) \
|
|
|
+ printk(KERN_NOTICE "%s: "fmt, __FUNCTION__, ## args); \
|
|
|
+ } while (0)
|
|
|
#else
|
|
|
#define DPRINTK(n, fmt, args...)
|
|
|
#endif
|