mac80211: convert to %pM away from print_mac
Also remove a few stray DECLARE_MAC_BUF that were no longer used at all. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
dd45c9cf68
commit
0c68ae2605
@@ -206,13 +206,11 @@ int ieee80211_ht_agg_queue_add(struct ieee80211_local *local,
|
||||
* on the previous queue
|
||||
* since HT is strict in order */
|
||||
#ifdef CONFIG_MAC80211_HT_DEBUG
|
||||
if (net_ratelimit()) {
|
||||
DECLARE_MAC_BUF(mac);
|
||||
if (net_ratelimit())
|
||||
printk(KERN_DEBUG "allocated aggregation queue"
|
||||
" %d tid %d addr %s pool=0x%lX\n",
|
||||
i, tid, print_mac(mac, sta->sta.addr),
|
||||
" %d tid %d addr %pM pool=0x%lX\n",
|
||||
i, tid, sta->sta.addr,
|
||||
local->queue_pool[0]);
|
||||
}
|
||||
#endif /* CONFIG_MAC80211_HT_DEBUG */
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user