aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2004-12-31 20:21:31 +0000
committerSam Leffler <sam@FreeBSD.org>2004-12-31 20:21:31 +0000
commit0ab4040a274640774e1207dae57caf0d2719ba7c (patch)
tree24512472d4105349841f1ca0eac8f6af79823825 /sys/dev
parenta6c992f43cacdbcb3946b692c31c2fb6c82ac067 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ath/if_ath.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 237fc47e9b4e1..a46e8c6866628 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -2575,7 +2575,10 @@ ath_rx_proc(void *arg, int npending)
BUS_DMASYNC_POSTREAD);
ieee80211_notify_michael_failure(ic,
mtod(m, struct ieee80211_frame *),
- ds->ds_rxstat.rs_keyix);
+ sc->sc_splitmic ?
+ ds->ds_rxstat.rs_keyix-32 :
+ ds->ds_rxstat.rs_keyix
+ );
}
}
ifp->if_ierrors++;