diff options
author | adrian <adrian@FreeBSD.org> | 2013-02-02 02:00:10 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-02-02 02:00:10 +0000 |
commit | b5f69f69909a400c04f4dc5c3a22321a761b5dcc (patch) | |
tree | dbb1dd6a2cc87bf860cacb7b9ea359aaffffb6ab /sys/net80211/ieee80211_superg.c | |
parent | f817112dff6d3bf2855772b5112bf05748266394 (diff) | |
download | FreeBSD-src-b5f69f69909a400c04f4dc5c3a22321a761b5dcc.zip FreeBSD-src-b5f69f69909a400c04f4dc5c3a22321a761b5dcc.tar.gz |
Wrap this in an #ifdef so IEEE80211_SUPPORT_SUPERG will work correctly
in a wlan.ko module.
Diffstat (limited to 'sys/net80211/ieee80211_superg.c')
-rw-r--r-- | sys/net80211/ieee80211_superg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_superg.c b/sys/net80211/ieee80211_superg.c index 0599f45..9ac5878 100644 --- a/sys/net80211/ieee80211_superg.c +++ b/sys/net80211/ieee80211_superg.c @@ -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 ieee80211vap *vap, struct ieee80211req *ireq) return 0; } IEEE80211_IOCTL_SET(superg, superg_ioctl_set80211); + +#endif /* IEEE80211_SUPPORT_SUPERG */ |