summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/p54common.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2008-12-13 16:45:38 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-12-19 15:23:13 -0500
commitee370ceda823435fe75be7dd4ed7b0e3dc3108b9 (patch)
tree5d11b881e9971b08c207772aaeafb725266c89e7 /drivers/net/wireless/p54/p54common.c
parent54fdb040b4760d5b2994d15c1371e297679420e9 (diff)
downloadop-kernel-dev-ee370ceda823435fe75be7dd4ed7b0e3dc3108b9.zip
op-kernel-dev-ee370ceda823435fe75be7dd4ed7b0e3dc3108b9.tar.gz
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>
Diffstat (limited to 'drivers/net/wireless/p54/p54common.c')
-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);
OpenPOWER on IntegriCloud