diff options
author | Joe Perches <joe@perches.com> | 2012-05-15 17:20:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-05 15:27:16 -0400 |
commit | f0d232080fa5d040aaf73a39d127b003cdd2d0ae (patch) | |
tree | 7c6ee7c422152e2627040e466dc2d709a27f0469 /net/mac80211/cfg.c | |
parent | 6efb71b01e37296eb0bcd6c63f7fa3b2d996d589 (diff) |
net: mac80211: Convert printk(KERN_DEBUG to pr_debug
Standardize the debugging to be able to use dynamic_debug.
Coalesce formats, align arguments.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 7ad542363f0b..f099cf4d12bc 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -2679,7 +2679,7 @@ static int ieee80211_tdls_mgmt(struct wiphy *wiphy, struct net_device *dev, | |||
2679 | return -EINVAL; | 2679 | return -EINVAL; |
2680 | 2680 | ||
2681 | #ifdef CONFIG_MAC80211_VERBOSE_TDLS_DEBUG | 2681 | #ifdef CONFIG_MAC80211_VERBOSE_TDLS_DEBUG |
2682 | printk(KERN_DEBUG "TDLS mgmt action %d peer %pM\n", action_code, peer); | 2682 | pr_debug("TDLS mgmt action %d peer %pM\n", action_code, peer); |
2683 | #endif | 2683 | #endif |
2684 | 2684 | ||
2685 | skb = dev_alloc_skb(local->hw.extra_tx_headroom + | 2685 | skb = dev_alloc_skb(local->hw.extra_tx_headroom + |
@@ -2790,7 +2790,7 @@ static int ieee80211_tdls_oper(struct wiphy *wiphy, struct net_device *dev, | |||
2790 | return -EINVAL; | 2790 | return -EINVAL; |
2791 | 2791 | ||
2792 | #ifdef CONFIG_MAC80211_VERBOSE_TDLS_DEBUG | 2792 | #ifdef CONFIG_MAC80211_VERBOSE_TDLS_DEBUG |
2793 | printk(KERN_DEBUG "TDLS oper %d peer %pM\n", oper, peer); | 2793 | pr_debug("TDLS oper %d peer %pM\n", oper, peer); |
2794 | #endif | 2794 | #endif |
2795 | 2795 | ||
2796 | switch (oper) { | 2796 | switch (oper) { |