Wrap this in an #ifdef so IEEE80211_SUPPORT_SUPERG will work correctly

in a wlan.ko module.
This commit is contained in:
Adrian Chadd 2013-02-02 02:00:10 +00:00
parent 3cbdda60ff
commit 9da01550a9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246226

View File

@ -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 */