summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00dev.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2008-06-10 09:06:52 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-06-10 09:06:52 -0400
commitcb14cb791c57b45ba32c92b041420cdc1b1a0283 (patch)
tree89333c407873b5d0a6a6849a94294e952a866bb7 /drivers/net/wireless/rt2x00/rt2x00dev.c
parent65b53e4cc90e59936733b3b95b9451d2ca47528d (diff)
rt2x00dev.c: fix-up merge damage
This restores the effects of "rt2x00: Don't count retries as failure". Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c
index f7a44170c02..dc5ab90a52c 100644
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
@@ -507,7 +507,7 @@ void rt2x00lib_txdone(struct queue_entry *entry,
rt2x00dev->link.qual.tx_success +=
test_bit(TXDONE_SUCCESS, &txdesc->flags);
rt2x00dev->link.qual.tx_failed +=
- txdesc->retry + !!test_bit(TXDONE_FAILURE, &txdesc->flags);
+ test_bit(TXDONE_FAILURE, &txdesc->flags);
/*
* Initialize TX status