From: Christian Lamparter Date: Sat, 13 Dec 2008 15:45:38 +0000 (+0100) Subject: p54: update ACK failure statistic counter in real-time X-Git-Tag: v2.6.29-rc1~581^2~105^2~35 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ee370ceda823435fe75be7dd4ed7b0e3dc3108b9;p=linux-2.6-omap-h63xx.git p54: update ACK failure statistic counter in real-time Signed-off-by: Christian Lamparter Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c index 36310f88187..ddb858608a5 100644 --- a/drivers/net/wireless/p54/p54common.c +++ b/drivers/net/wireless/p54/p54common.c @@ -720,6 +720,7 @@ static void p54_rx_frame_sent(struct ieee80211_hw *dev, struct sk_buff *skb) entry_hdr = (struct p54_hdr *) entry->data; entry_data = (struct p54_tx_data *) entry_hdr->data; priv->tx_stats[entry_data->hw_queue].len--; + priv->stats.dot11ACKFailureCount += payload->tries - 1; if (unlikely(entry == priv->cached_beacon)) { kfree_skb(entry);