PERFORCE change 113265 for review

Sam Leffler sam at FreeBSD.org
Sun Jan 21 20:48:10 UTC 2007


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

Change 113265 by sam at sam_ebb on 2007/01/21 20:47:59

	line up S:N display in list scan; may want to go back to
	rssi until we have proper units conversion

Affected files ...

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

Differences ...

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

@@ -1262,12 +1262,12 @@
 	getchaninfo(s);
 
 	ssidmax = verbose ? IEEE80211_NWID_LEN : 14;
-	printf("%-*.*s  %-17.17s  %4s %4s  %-7s %3s %4s\n"
+	printf("%-*.*s  %-17.17s  %4s %4s  %-7s  %3s %4s\n"
 		, ssidmax, ssidmax, "SSID"
 		, "BSSID"
 		, "CHAN"
 		, "RATE"
-		, "  S:N"
+		, " S:N"
 		, "INT"
 		, "CAPS"
 	);
@@ -1278,7 +1278,7 @@
 
 		sr = (struct ieee80211req_scan_result *) cp;
 		vp = (u_int8_t *)(sr+1);
-		printf("%-*.*s  %s  %3d  %3dM %2d:%-2d  %3d %-4.4s"
+		printf("%-*.*s  %s  %3d  %3dM %3d:%-3d  %3d %-4.4s"
 			, ssidmax
 			  , copy_essid(ssid, ssidmax, vp, sr->isr_ssid_len)
 			  , ssid


More information about the p4-projects mailing list