Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2008 21:53:26 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 149285 for review
Message-ID:  <200809052153.m85LrQLJ066667@repoman.freebsd.org>

index | next in thread | raw e-mail

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

Change 149285 by sam@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");


help

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