Search Linux Wireless

[PATCH] b43: Fix failed frames status report typo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This fixes a typo in the status report.

Signed-off-by: Michael Buesch <mb@xxxxxxxxx>

---

For 2.6.26


Index: wireless-testing/drivers/net/wireless/b43/dma.c
===================================================================
--- wireless-testing.orig/drivers/net/wireless/b43/dma.c	2008-03-07 19:48:55.000000000 +0100
+++ wireless-testing/drivers/net/wireless/b43/dma.c	2008-03-07 19:49:23.000000000 +0100
@@ -914,13 +914,13 @@ static void b43_destroy_dmaring(struct b
 		       "Used slots %d/%d, Failed frames %llu/%llu = %llu.%01llu%%, "
 		       "Average tries %llu.%02llu\n",
 		       (unsigned int)(ring->type), ringname,
 		       ring->max_used_slots,
 		       ring->nr_slots,
 		       (unsigned long long)failed_packets,
-		       (unsigned long long)succeed_packets,
+		       (unsigned long long)nr_packets,
 		       (unsigned long long)divide(permille_failed, 10),
 		       (unsigned long long)modulo(permille_failed, 10),
 		       (unsigned long long)divide(average_tries, 100),
 		       (unsigned long long)modulo(average_tries, 100));
 	}
 #endif /* DEBUG */
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux