PERFORCE change 67689 for review
Sam Leffler
sam at FreeBSD.org
Sat Dec 25 11:32:10 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=67689
Change 67689 by sam at sam_ebb on 2004/12/25 19:31:16
allow the deftxkey to be set to "undefined"
Affected files ...
.. //depot/projects/wifi/sys/net80211/ieee80211_ioctl.c#30 edit
Differences ...
==== //depot/projects/wifi/sys/net80211/ieee80211_ioctl.c#30 (text+ko) ====
@@ -1972,7 +1972,8 @@
break;
case IEEE80211_IOC_WEPTXKEY:
kid = (u_int) ireq->i_val;
- if (kid >= IEEE80211_WEP_NKID)
+ if (kid >= IEEE80211_WEP_NKID &&
+ (u_int16_t) kid != IEEE80211_KEYIX_NONE)
return EINVAL;
ic->ic_def_txkey = kid;
error = ENETRESET; /* push to hardware */
More information about the p4-projects
mailing list