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 */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to