Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2013 02:00:10 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r246226 - head/sys/net80211
Message-ID:  <201302020200.r1220ARZ051868@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302020200.r1220ARZ051868>