p54: update ACK failure statistic counter in real-time
authorChristian Lamparter <chunkeey@web.de>
Sat, 13 Dec 2008 15:45:38 +0000 (16:45 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Dec 2008 20:23:13 +0000 (15:23 -0500)
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54common.c

index 36310f8818749e34c28887af21cf8ad3ca9128af..ddb858608a50ebbfb26e92798d31035080e76268 100644 (file)
@@ -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);