From 948457f1be44d024e0eb91435cf4abbee6115c51 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Wed, 28 Oct 2015 23:39:33 +0000 Subject: [PATCH] Oops - use the wrong array offset. --- sys/mips/atheros/if_arge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/mips/atheros/if_arge.c b/sys/mips/atheros/if_arge.c index f93b7bd5dfc7..b300b705be10 100644 --- a/sys/mips/atheros/if_arge.c +++ b/sys/mips/atheros/if_arge.c @@ -2485,7 +2485,7 @@ arge_intr(void *arg) #ifdef ARGE_DEBUG for (i = 0; i < 32; i++) { if (status & (1 << i)) { - sc->intr_stats.count[1 << i]++; + sc->intr_stats.count[i]++; } } #endif