PERFORCE change 149285 for review

Sam Leffler sam at FreeBSD.org
Fri Sep 5 21:53:27 UTC 2008


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

Change 149285 by sam at sam_ebb on 2008/09/05 21:53:20

	"ampdudensity -" is confusing; display NA when there is no
	requirement for the density (and accept it as a setting)

Affected files ...

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

Differences ...

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

@@ -1602,7 +1602,7 @@
 {
 	int v;
 
-	if (isanyarg(val))
+	if (isanyarg(val) || strcasecmp(val, "na") == 0)
 		v = IEEE80211_HTCAP_MPDUDENSITY_NA;
 	else switch ((int)(atof(val)*4)) {
 	case 0:
@@ -4075,7 +4075,7 @@
 			switch (val) {
 			case IEEE80211_HTCAP_MPDUDENSITY_NA:
 				if (verbose)
-					LINE_CHECK("ampdudensity -");
+					LINE_CHECK("ampdudensity NA");
 				break;
 			case IEEE80211_HTCAP_MPDUDENSITY_025:
 				LINE_CHECK("ampdudensity .25");


More information about the p4-projects mailing list