Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2009 17:14:52 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r192394 - projects/mesh11s/sbin/ifconfig
Message-ID:  <200905191714.n4JHEqTZ004317@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Tue May 19 17:14:52 2009
New Revision: 192394
URL: http://svn.freebsd.org/changeset/base/192394

Log:
  Use a similar style for printing mesh link state.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  projects/mesh11s/sbin/ifconfig/ifieee80211.c

Modified: projects/mesh11s/sbin/ifconfig/ifieee80211.c
==============================================================================
--- projects/mesh11s/sbin/ifconfig/ifieee80211.c	Tue May 19 17:10:57 2009	(r192393)
+++ projects/mesh11s/sbin/ifconfig/ifieee80211.c	Tue May 19 17:14:52 2009	(r192394)
@@ -3260,13 +3260,12 @@ list_stations(int s)
 			, getflags(si->isi_state)
 		);
 		printies(cp + si->isi_ie_off, si->isi_ie_len, 24);
-		printmimo(&si->isi_mimo);
-		printf("\n");
 		if (verbose && opmode == IEEE80211_M_MBSS)
-			printf("\tMesh Peer ID: 0x%x, Local ID: 0x%x, "
-			    "Link state: %s\n", si->isi_peerid,
-			    si->isi_localid,
+			printf(" MESHLINK<PEERID: 0x%x LOCALID: 0x%x "
+			    STATE %s>", si->isi_peerid, si->isi_localid,
 			    mesh_linkstate_string(si->isi_peerstate));
+		printmimo(&si->isi_mimo);
+		printf("\n");
 		cp += si->isi_len, len -= si->isi_len;
 	} while (len >= sizeof(struct ieee80211req_sta_info));
 }



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