PERFORCE change 66382 for review

Sam Leffler sam at FreeBSD.org
Fri Dec 3 18:45:42 PST 2004


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

Change 66382 by sam at sam_ebb on 2004/12/04 02:45:27

	one more, supress rtsthreshold

Affected files ...

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

Differences ...

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

@@ -1447,8 +1447,10 @@
 	}
 
 	ireq.i_type = IEEE80211_IOC_RTSTHRESHOLD;
-	if (ioctl(s, SIOCG80211, &ireq) != -1)
-		LINE_CHECK("%crtsthreshold %d", spacer, ireq.i_val);
+	if (ioctl(s, SIOCG80211, &ireq) != -1) {
+		if (ireq.i_val != IEEE80211_RTS_MAX || verbose)
+			LINE_CHECK("%crtsthreshold %d", spacer, ireq.i_val);
+	}
 
 	if (IEEE80211_IS_CHAN_G(c) || IEEE80211_IS_CHAN_PUREG(c) || verbose) {
 		ireq.i_type = IEEE80211_IOC_PROTMODE;


More information about the p4-projects mailing list