aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c8
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