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-Url: https://git.stricted.de/?a=commitdiff_plain;h=ee370ceda823435fe75be7dd4ed7b0e3dc3108b9;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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);