Search Linux Wireless

Re: [PATCH 1/2] compat-wireless: activate CONFIG_CFG80211_WEXT if possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 8, 2010 at 2:13 PM, Hauke Mehrtens <hauke@xxxxxxxxxx> wrote:
> CONFIG_CFG80211_WEXT depends on CONFIG_WIRELESS_EXT for every kernel
> version,

This can't be true since CONFIG_WIRELESS_EXT is gone on recent kernels.

> because we use the wireless_handlers attribute.
> CONFIG_CFG80211_WEXT should be set here every time it will be set in
> config.mk.
> The build was failing for kernel > 2.6.32 with CONFIG_WIRELESS_EXT=y
>
> Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
> ---
>  scripts/gen-compat-autoconf.sh |    5 +----
>  1 files changed, 1 insertions(+), 4 deletions(-)
>
> diff --git a/scripts/gen-compat-autoconf.sh b/scripts/gen-compat-autoconf.sh
> index 1e3002e..277467f 100755
> --- a/scripts/gen-compat-autoconf.sh
> +++ b/scripts/gen-compat-autoconf.sh
> @@ -191,10 +191,7 @@ if [ -f $KLIB_BUILD/Makefile ]; then
>                echo CONFIG_NETDEVICES_MULTIQUEUE >> $MULT_DEP_FILE
>                define_config_multiple_deps CONFIG_MAC80211_QOS y $ALL_DEPS
>                rm -f $MULT_DEP_FILE
> -               # Kernels >= 2.6.32 can disable WEXT :D
> -               if [ $SUBLEVEL -le 32 ]; then
> -                       define_config_dep CONFIG_CFG80211_WEXT 1 CONFIG_WIRELESS_EXT
> -               fi
> +               define_config_dep CONFIG_CFG80211_WEXT 1 CONFIG_WIRELESS_EXT
>        fi
>  fi
>  echo "#endif /* COMPAT_AUTOCONF_INCLUDED */"

What this is expressing is we need CONFIG_WIRELESS_EXT if we are <
2.6.32 and want CONFIG_CFG80211_WEXT. What happened on 2.6.32 is we
allowed for CONFIG_WIRELESS_EXT to be disabled on the kernel, but this
same config option was renamed on future kernels or removed, I forget
which.

Your patch would not allow kernels to use compat-wireless that have
wireless extensions disabled, so there seems to be another way we need
to address this.

  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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux