summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2008-12-13 15:45:38 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2008-12-19 20:23:13 (GMT)
commitee370ceda823435fe75be7dd4ed7b0e3dc3108b9 (patch)
tree5d11b881e9971b08c207772aaeafb725266c89e7
parent54fdb040b4760d5b2994d15c1371e297679420e9 (diff)
downloadlinux-fsl-qoriq-ee370ceda823435fe75be7dd4ed7b0e3dc3108b9.tar.xz
p54: update ACK failure statistic counter in real-time
Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/p54/p54common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c
index 36310f8..ddb8586 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);