svn commit: r196842 - head/sys/dev/mwl
Sam Leffler
sam at FreeBSD.org
Fri Sep 4 22:34:58 UTC 2009
Author: sam
Date: Fri Sep 4 22:34:57 2009
New Revision: 196842
URL: http://svn.freebsd.org/changeset/base/196842
Log:
must also plumb static wep keys to the local sta db in sta mode; not
sure when this became necessary and might be caused by some missing
code to do auto-configuration of DWDS usage
Noticed by: Felix Feng <unixwind at gmail.com>
Modified:
head/sys/dev/mwl/if_mwl.c
Modified: head/sys/dev/mwl/if_mwl.c
==============================================================================
--- head/sys/dev/mwl/if_mwl.c Fri Sep 4 21:49:37 2009 (r196841)
+++ head/sys/dev/mwl/if_mwl.c Fri Sep 4 22:34:57 2009 (r196842)
@@ -1738,6 +1738,10 @@ mwl_key_set(struct ieee80211vap *vap, co
* WEP keys when the sta reaches AUTH state.
*/
macaddr = vap->iv_bss->ni_bssid;
+ if ((k->wk_flags & IEEE80211_KEY_GROUP) == 0) {
+ /* XXX plumb to local sta db too for static key wep */
+ mwl_hal_keyset(hvap, &hk, vap->iv_myaddr);
+ }
} else if (vap->iv_opmode == IEEE80211_M_WDS &&
vap->iv_state != IEEE80211_S_RUN) {
/*
More information about the svn-src-head
mailing list