linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] b43: Fix failed frames status report typo
@ 2008-03-07 18:52 Michael Buesch
  0 siblings, 0 replies; only message in thread
From: Michael Buesch @ 2008-03-07 18:52 UTC (permalink / raw)
  To: John Linville; +Cc: bcm43xx-dev, linux-wireless

This fixes a typo in the status report.

Signed-off-by: Michael Buesch <mb@bu3sch.de>

---

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 */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-07 18:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-07 18:52 [PATCH] b43: Fix failed frames status report typo Michael Buesch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).