[PATCH v2 13/16] wcn36xx: add wcn36xx.h

Joe Perches joe at perches.com
Mon Sep 2 13:49:53 EDT 2013


On Mon, 2013-09-02 at 17:15 +0300, Kalle Valo wrote:
> Joe Perches <joe at perches.com> writes:
> 
> >> +#define wcn36xx_dbg(mask, fmt, arg...) do {			\
> >> +	if (debug_mask & mask)					\
> >> +		printk(KERN_DEBUG pr_fmt(fmt), ##arg);	\
> >> +} while (0)
> >
> > And maybe this one using pr_debug so dynamic_debug
> > can work too.
> 
> Please, no dynamic_debug. It's useless on a wifi driver.

Why is that?




More information about the wcn36xx mailing list