]> err.no Git - linux-2.6/commitdiff
rt2x00dev.c: fix-up merge damage
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Jun 2008 13:06:52 +0000 (09:06 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Jun 2008 13:06:52 +0000 (09:06 -0400)
This restores the effects of "rt2x00: Don't count retries as failure".

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00dev.c

index f7a44170c0257c6d31da587b0ebd154854958b1b..dc5ab90a52c3a44e59c9214a022f7b6cd330fea6 100644 (file)
@@ -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