summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2013-10-21 16:13:49 +0000
committerstsp <stsp@openbsd.org>2013-10-21 16:13:49 +0000
commit17ac10149449df82ecb1ba332a1b64c68deba181 (patch)
tree42c0115977fed8ce4cb7974703b8d2d24c17ff26
parentWrite AR9485 initvals in the same order as Linux ath9k does. (diff)
downloadwireguard-openbsd-17ac10149449df82ecb1ba332a1b64c68deba181.tar.xz
wireguard-openbsd-17ac10149449df82ecb1ba332a1b64c68deba181.zip
Fix values of AR9003 Rx queue software indexes. Both indexes were zero,
which is obviously not intended given how they are used in the ar9003 code. No currently working athn(4) devices are affected by this change.
-rw-r--r--sys/dev/ic/athnvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/athnvar.h b/sys/dev/ic/athnvar.h
index d6a4a05e140..e490a4577e2 100644
--- a/sys/dev/ic/athnvar.h
+++ b/sys/dev/ic/athnvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: athnvar.h,v 1.33 2012/10/20 09:54:20 stsp Exp $ */
+/* $OpenBSD: athnvar.h,v 1.34 2013/10/21 16:13:49 stsp Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -214,7 +214,7 @@ struct athn_serdes {
/* Rx queue software indexes. */
#define ATHN_QID_LP 0
-#define ATHN_QID_HP 0
+#define ATHN_QID_HP 1
/* Tx queue software indexes. */
#define ATHN_QID_AC_BE 0