Skip to contentSkip to conversation

b43: Fix failed frames status report typo

PATCH New Michael Buesch 1 participant 1 message Mar 7, 2008 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 b43: Fix failed frames status report typo

This fixes a typo in the status report.

---

For 2.6.26

drivers/net/wireless/b43/dma.c +1 -1
Index: wireless-testing/drivers/net/wireless/b43/dma.c
===================================================================
@@ -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 */