From owner-svn-src-head@FreeBSD.ORG Sat Feb 2 02:00:11 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5808FFC; Sat, 2 Feb 2013 02:00:11 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 45385A09; Sat, 2 Feb 2013 02:00:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1220AcZ051869; Sat, 2 Feb 2013 02:00:10 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1220ARZ051868; Sat, 2 Feb 2013 02:00:10 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201302020200.r1220ARZ051868@svn.freebsd.org> From: Adrian Chadd Date: Sat, 2 Feb 2013 02:00:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r246226 - head/sys/net80211 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2013 02:00:11 -0000 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 #include #include @@ -921,3 +923,5 @@ superg_ioctl_set80211(struct ieee80211va return 0; } IEEE80211_IOCTL_SET(superg, superg_ioctl_set80211); + +#endif /* IEEE80211_SUPPORT_SUPERG */