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

Commit d6400c29 authored by Joe Perches's avatar Joe Perches Committed by John W. Linville
Browse files

brcmfmac: Convert printk(KERN_DEBUG to pr_debug



Allow dynamic debugging.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 8ae74654
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -39,12 +39,12 @@ do { \
	if (BRCMF_ERROR_VAL == BRCMF_##level##_VAL) {			\
	if (BRCMF_ERROR_VAL == BRCMF_##level##_VAL) {			\
		if (brcmf_msg_level & BRCMF_##level##_VAL) {		\
		if (brcmf_msg_level & BRCMF_##level##_VAL) {		\
			if (net_ratelimit())				\
			if (net_ratelimit())				\
				printk(KERN_DEBUG "%s: " fmt,		\
				pr_debug("%s: " fmt,			\
					 __func__, ##__VA_ARGS__);	\
					 __func__, ##__VA_ARGS__);	\
		}							\
		}							\
	} else {							\
	} else {							\
		if (brcmf_msg_level & BRCMF_##level##_VAL) {		\
		if (brcmf_msg_level & BRCMF_##level##_VAL) {		\
			printk(KERN_DEBUG "%s: " fmt,			\
			pr_debug("%s: " fmt,				\
				 __func__, ##__VA_ARGS__);		\
				 __func__, ##__VA_ARGS__);		\
		}							\
		}							\
	}								\
	}								\