Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Dec 2004 02:45:41 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 66382 for review
Message-ID:  <200412040245.iB42jfpY018037@repoman.freebsd.org>

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

Change 66382 by sam@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;



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