Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2005 04:07:49 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 70201 for review
Message-ID:  <200502030407.j1347n1D095552@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=70201

Change 70201 by sam@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)) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502030407.j1347n1D095552>