diff options
Diffstat (limited to 'net/mac80211/rc80211_simple.c')
-rw-r--r-- | net/mac80211/rc80211_simple.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/rc80211_simple.c b/net/mac80211/rc80211_simple.c index ef91ce428aca..314b8de88862 100644 --- a/net/mac80211/rc80211_simple.c +++ b/net/mac80211/rc80211_simple.c | |||
@@ -201,9 +201,10 @@ static void rate_control_simple_tx_status(void *priv, struct net_device *dev, | |||
201 | srctrl->avg_rate_update = jiffies; | 201 | srctrl->avg_rate_update = jiffies; |
202 | if (srctrl->tx_avg_rate_num > 0) { | 202 | if (srctrl->tx_avg_rate_num > 0) { |
203 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG | 203 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG |
204 | printk(KERN_DEBUG "%s: STA " MAC_FMT " Average rate: " | 204 | DECLARE_MAC_BUF(mac); |
205 | printk(KERN_DEBUG "%s: STA %s Average rate: " | ||
205 | "%d (%d/%d)\n", | 206 | "%d (%d/%d)\n", |
206 | dev->name, MAC_ARG(sta->addr), | 207 | dev->name, print_mac(mac, sta->addr), |
207 | srctrl->tx_avg_rate_sum / | 208 | srctrl->tx_avg_rate_sum / |
208 | srctrl->tx_avg_rate_num, | 209 | srctrl->tx_avg_rate_num, |
209 | srctrl->tx_avg_rate_sum, | 210 | srctrl->tx_avg_rate_sum, |