PERFORCE change 70201 for review

Sam Leffler sam at FreeBSD.org
Wed Feb 2 20:07:50 PST 2005


http://perforce.freebsd.org/chv.cgi?CH=70201

Change 70201 by sam at sam_ebb on 2005/02/03 04:07:01

	correct check for the unicast key being setup

Affected files ...

.. //depot/projects/wifi/sys/net80211/ieee80211_output.c#38 edit

Differences ...

==== //depot/projects/wifi/sys/net80211/ieee80211_output.c#38 (text+ko) ====

@@ -624,7 +624,7 @@
 		 */
 		if (eh.ether_type != htons(ETHERTYPE_PAE) ||
 		    ((ic->ic_flags & IEEE80211_F_WPA) &&
-		     !KEY_UNDEFINED(ni->ni_ucastkey))) {
+		     !KEY_UNDEFINED(*key))) {
 			wh->i_fc[1] |= IEEE80211_FC1_WEP;
 			/* XXX do fragmentation */
 			if (!ieee80211_crypto_enmic(ic, key, m)) {


More information about the p4-projects mailing list