Date: Sat, 25 Dec 2004 19:32:09 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 67689 for review Message-ID: <200412251932.iBPJW9O3056335@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=67689 Change 67689 by sam@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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412251932.iBPJW9O3056335>