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

Rui Paulo rpaulo at FreeBSD.org
Tue Apr 21 16:58:47 UTC 2009


Author: rpaulo
Date: Tue Apr 21 16:58:46 2009
New Revision: 191361
URL: http://svn.freebsd.org/changeset/base/191361

Log:
  Add code to support MBSS in get80211mode().
  
  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 Apr 21 16:25:18 2009	(r191360)
+++ projects/mesh11s/sbin/ifconfig/ifieee80211.c	Tue Apr 21 16:58:46 2009	(r191361)
@@ -3844,6 +3844,8 @@ get80211opmode(int s)
 			return IEEE80211_M_HOSTAP;
 		if (ifmr.ifm_current & IFM_IEEE80211_MONITOR)
 			return IEEE80211_M_MONITOR;
+		if (ifmr.ifm_current & IFM_IEEE80211_MBSS)
+			return IEEE80211_M_MBSS;
 	}
 	return IEEE80211_M_STA;
 }


More information about the svn-src-projects mailing list