diff options
author | Joe Perches <joe@perches.com> | 2010-08-20 19:25:38 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-25 14:33:17 -0400 |
commit | 0fb9a9ec27718fbf7fa3153bc94becefb716ceeb (patch) | |
tree | 8f5d6a5fa9f2c6b8b08273dc198d6187d0a70361 /net/mac80211/tx.c | |
parent | b62177a0aa0521fd07cd7501534c0c3b256ebce6 (diff) |
net/mac80211: Use wiphy_<level>
Standardize logging messages from
printk(KERN_<level> "%s: " fmt , wiphy_name(foo), args);
to
wiphy_<level>(foo, fmt, args);
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index bc4fefc91663..d51ec74cfb62 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -351,8 +351,8 @@ static void purge_old_ps_buffers(struct ieee80211_local *local) | |||
351 | 351 | ||
352 | local->total_ps_buffered = total; | 352 | local->total_ps_buffered = total; |
353 | #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG | 353 | #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG |
354 | printk(KERN_DEBUG "%s: PS buffers full - purged %d frames\n", | 354 | wiphy_debug(local->hw.wiphy, "PS buffers full - purged %d frames\n", |
355 | wiphy_name(local->hw.wiphy), purged); | 355 | purged); |
356 | #endif | 356 | #endif |
357 | } | 357 | } |
358 | 358 | ||
@@ -1513,8 +1513,8 @@ static int ieee80211_skb_resize(struct ieee80211_local *local, | |||
1513 | I802_DEBUG_INC(local->tx_expand_skb_head); | 1513 | I802_DEBUG_INC(local->tx_expand_skb_head); |
1514 | 1514 | ||
1515 | if (pskb_expand_head(skb, head_need, tail_need, GFP_ATOMIC)) { | 1515 | if (pskb_expand_head(skb, head_need, tail_need, GFP_ATOMIC)) { |
1516 | printk(KERN_DEBUG "%s: failed to reallocate TX buffer\n", | 1516 | wiphy_debug(local->hw.wiphy, |
1517 | wiphy_name(local->hw.wiphy)); | 1517 | "failed to reallocate TX buffer\n"); |
1518 | return -ENOMEM; | 1518 | return -ENOMEM; |
1519 | } | 1519 | } |
1520 | 1520 | ||