summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ar9280.c
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2010-05-16 14:34:20 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2010-05-16 14:34:20 +0000
commita2ca1e3197e352361be0827457d1da054bce8631 (patch)
treef14537e63a85fbe916a50288f884ffe2ade941ec /sys/dev/ic/ar9280.c
parente7ed5d6a3fac0331caef90ee6b9198619e937def (diff)
cleanup hardware key cache management (not used yet)
Diffstat (limited to 'sys/dev/ic/ar9280.c')
-rw-r--r--sys/dev/ic/ar9280.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/ar9280.c b/sys/dev/ic/ar9280.c
index 9e05c47b5a3..233c27dcafa 100644
--- a/sys/dev/ic/ar9280.c
+++ b/sys/dev/ic/ar9280.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar9280.c,v 1.6 2010/05/11 18:04:12 damien Exp $ */
+/* $OpenBSD: ar9280.c,v 1.7 2010/05/16 14:34:19 damien Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -96,6 +96,9 @@ const struct ar_spur_chan *
int
ar9280_attach(struct athn_softc *sc)
{
+ /* AR9280 1.0 needs separate entries for Tx/Rx TKIP MIC. */
+ if (AR_SREV_9280_10(sc))
+ sc->flags |= ATHN_FLAG_SPLIT_TKIP_MIC;
sc->eep_base = AR5416_EEP_START_LOC;
sc->eep_size = sizeof(struct ar5416_eeprom);
sc->def_nf = AR9280_PHY_CCA_MAX_GOOD_VALUE;