Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2008 15:18:44 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 148617 for review
Message-ID:  <200808271518.m7RFIihK099245@repoman.freebsd.org>

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

Change 148617 by sam@sam_ebb on 2008/08/27 15:18:37

	track crypto changes

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_ddb.c#20 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_ddb.c#20 (text+ko) ====

@@ -685,7 +685,7 @@
 	const struct ieee80211_cipher *cip = wk->wk_cipher;
 	int keylen = wk->wk_keylen;
 
-	if (wk->wk_keyix == IEEE80211_KEYIX_NONE)
+	if ((wk->wk_flags & IEEE80211_KEY_DEVKEY) == 0)
 		return;
 	db_printf(tag, ix);
 	switch (cip->ic_cipher) {
@@ -739,6 +739,10 @@
 				db_printf("%srx", sep), sep = "+";
 			if (wk->wk_flags & IEEE80211_KEY_DEFAULT)
 				db_printf("%sdef", sep), sep = "+";
+			if (wk->wk_flags & IEEE80211_KEY_SWCRYPT)
+				db_printf("%sswcrypt", sep), sep = "+";
+			if (wk->wk_flags & IEEE80211_KEY_SWMIC)
+				db_printf("%sswmic", sep), sep = "+";
 		}
 		db_printf("\n");
 	}



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