svn commit: r246226 - head/sys/net80211

Adrian Chadd adrian at FreeBSD.org
Sat Feb 2 02:00:11 UTC 2013


Author: adrian
Date: Sat Feb  2 02:00:10 2013
New Revision: 246226
URL: http://svnweb.freebsd.org/changeset/base/246226

Log:
  Wrap this in an #ifdef so IEEE80211_SUPPORT_SUPERG will work correctly
  in a wlan.ko module.

Modified:
  head/sys/net80211/ieee80211_superg.c

Modified: head/sys/net80211/ieee80211_superg.c
==============================================================================
--- head/sys/net80211/ieee80211_superg.c	Sat Feb  2 01:11:12 2013	(r246225)
+++ head/sys/net80211/ieee80211_superg.c	Sat Feb  2 02:00:10 2013	(r246226)
@@ -28,6 +28,8 @@ __FBSDID("$FreeBSD$");
 
 #include "opt_wlan.h"
 
+#ifdef	IEEE80211_SUPPORT_SUPERG
+
 #include <sys/param.h>
 #include <sys/systm.h> 
 #include <sys/mbuf.h>   
@@ -921,3 +923,5 @@ superg_ioctl_set80211(struct ieee80211va
 	return 0;
 }
 IEEE80211_IOCTL_SET(superg, superg_ioctl_set80211);
+
+#endif	/* IEEE80211_SUPPORT_SUPERG */


More information about the svn-src-head mailing list