Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 2004 00:37:14 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 65817 for review
Message-ID:  <200411250037.iAP0bEMP073568@repoman.freebsd.org>

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

Change 65817 by sam@sam_ebb on 2004/11/25 00:36:19

	there's no reason to print tsc/rsc for wep keys

Affected files ...

.. //depot/projects/wifi/sbin/ifconfig/ifieee80211.c#19 edit

Differences ...

==== //depot/projects/wifi/sbin/ifconfig/ifieee80211.c#19 (text+ko) ====

@@ -1142,9 +1142,11 @@
 		for (i = 0; i < keylen; i++)
 			printf("%02x", ik->ik_keydata[i]);
 		printf(">");
-		if (ik->ik_keyrsc != 0 || verbose)
+		if (ik->ik_type != IEEE80211_CIPHER_WEP &&
+		    (ik->ik_keyrsc != 0 || verbose))
 			printf(" rsc %llu", ik->ik_keyrsc);
-		if (ik->ik_keytsc != 0 || verbose)
+		if (ik->ik_type != IEEE80211_CIPHER_WEP &&
+		    (ik->ik_keytsc != 0 || verbose))
 			printf(" tsc %llu", ik->ik_keytsc);
 		if (ik->ik_flags != 0 && verbose) {
 			const char *sep = " ";



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