summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
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 237fc47..a46e8c6 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++;
OpenPOWER on IntegriCloud