svn commit: r225727 - user/adrian/if_ath_tx/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Thu Sep 22 10:52:14 UTC 2011
Author: adrian
Date: Thu Sep 22 10:52:14 2011
New Revision: 225727
URL: http://svn.freebsd.org/changeset/base/225727
Log:
Revert the STA keycache multicast entry fix for now; just so I can tinker
with some other things that need it.
Modified:
user/adrian/if_ath_tx/sys/dev/ath/if_ath_keycache.c
Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_keycache.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath_keycache.c Thu Sep 22 08:39:20 2011 (r225726)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_keycache.c Thu Sep 22 10:52:14 2011 (r225727)
@@ -214,14 +214,20 @@ ath_keyset(struct ath_softc *sc, struct
hk.kv_type = HAL_CIPHER_CLR;
/*
+ * XXX TODO: check this:
+ *
* Group keys on hardware that supports multicast frame
* key search should only be done in adhoc/hostap mode,
* not STA mode.
*
* XXX TODO: what about mesh, tdma?
*/
+#if 0
if ((vap->iv_opmode == IEEE80211_M_HOSTAP ||
vap->iv_opmode == IEEE80211_M_IBSS) &&
+#else
+ if (
+#endif
(k->wk_flags & IEEE80211_KEY_GROUP) &&
sc->sc_mcastkey) {
/*
More information about the svn-src-user
mailing list