summaryrefslogtreecommitdiffstats
path: root/sys/mips/atheros
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-10-28 23:39:33 +0000
committeradrian <adrian@FreeBSD.org>2015-10-28 23:39:33 +0000
commit48944f6b39304239e82aae22a3617b68b502cf8a (patch)
tree4c9c6b6f5fceac98177d9b2c5fd2f82a45c5c5f3 /sys/mips/atheros
parentd3c29dd43ff23e293d5988258493015fb4a072ba (diff)
downloadFreeBSD-src-48944f6b39304239e82aae22a3617b68b502cf8a.zip
FreeBSD-src-48944f6b39304239e82aae22a3617b68b502cf8a.tar.gz
Oops - use the wrong array offset.
Diffstat (limited to 'sys/mips/atheros')
-rw-r--r--sys/mips/atheros/if_arge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/atheros/if_arge.c b/sys/mips/atheros/if_arge.c
index f93b7bd..b300b70 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
OpenPOWER on IntegriCloud