PERFORCE change 148617 for review

Sam Leffler sam at FreeBSD.org
Wed Aug 27 15:18:45 UTC 2008


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

Change 148617 by sam at 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");
 	}


More information about the p4-projects mailing list