svn commit: r194530 - projects/mesh11s/sbin/ifconfig

Rui Paulo rpaulo at FreeBSD.org
Sat Jun 20 12:02:58 UTC 2009


Author: rpaulo
Date: Sat Jun 20 12:02:56 2009
New Revision: 194530
URL: http://svn.freebsd.org/changeset/base/194530

Log:
  Remove code for sta in list_mesh().
  
  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	Sat Jun 20 10:09:59 2009	(r194529)
+++ projects/mesh11s/sbin/ifconfig/ifieee80211.c	Sat Jun 20 12:02:56 2009	(r194530)
@@ -3308,13 +3308,6 @@ list_mesh(int s)
 
 	/* broadcast address =>'s get all stations */
 	(void) memset(u.req.is_u.macaddr, 0xff, IEEE80211_ADDR_LEN);
-	if (opmode == IEEE80211_M_STA) {
-		/*
-		 * Get information about the associated AP.
-		 */
-		(void) get80211(s, IEEE80211_IOC_BSSID,
-		    u.req.is_u.macaddr, IEEE80211_ADDR_LEN);
-	}
 	if (get80211len(s, IEEE80211_IOC_STA_INFO, &u, sizeof(u), &len) < 0)
 		errx(1, "unable to get station information");
 	if (len < sizeof(struct ieee80211req_sta_info))


More information about the svn-src-projects mailing list