On Mon, Apr 5, 2010 at 4:54 PM, Matteo Croce <technoboy85@xxxxxxxxx> wrote: > On Tue, Apr 6, 2010 at 1:34 AM, Luis R. Rodriguez <mcgrof@xxxxxxxxx> wrote: >> On Sat, Mar 20, 2010 at 7:59 AM, Matteo Croce <technoboy85@xxxxxxxxx> wrote: >>> This patch allows compat wireless to compile with a kernel >= 2.6.33 >>> >>> Index: compat-wireless-2010-03-19/scripts/gen-compat-autoconf.sh >>> =================================================================== >>> --- compat-wireless-2010-03-19.orig/scripts/gen-compat-autoconf.sh 2010-03-20 >>> 15:26:22.604720545 +0100 >>> +++ compat-wireless-2010-03-19/scripts/gen-compat-autoconf.sh 2010-03-20 >>> 15:27:49.212236531 +0100 >>> @@ -145,7 +145,11 @@ >>> kernel_version_req $OLDEST_KERNEL_SUPPORTED >>> >>> # Handle core kernel wireless depenencies here >>> +echo '#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)' >>> +define_config_req CONFIG_CFG80211_WEXT >>> +echo '#else' >>> define_config_req CONFIG_WIRELESS_EXT >>> +echo '#endif' >>> >>> # For each CONFIG_FOO=x option >>> for i in $(grep '^CONFIG_' $COMPAT_CONFIG); do >> >> Sorry been meaning to reply, reason I haven't applied it is this seems >> wrong, we should be able to build kernels with 802.11 without wext >> crap on new kernels. Perhaps only add the requirement for kernels >> older than 2.6.33? >> >> Luis >> > > Please do not disable wext until nl80211 can really replace it. wext is already disabled by default if you don't have a driver that requires it. > There are some things than nl80211 can't do yet (eg. txpower) Sure, that's the only thing I'm aware of. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html