Date: Sat, 20 Jun 2009 12:02:57 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r194530 - projects/mesh11s/sbin/ifconfig Message-ID: <200906201202.n5KC2vxM075679@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906201202.n5KC2vxM075679>