Re: wireless: Kconfig: add missing dependency for airo_cs

From: Zhao\, Gang
Date: Tue Mar 11 2014 - 00:01:31 EST


On Mon, 2014-03-10 at 22:05:25 +0800, Arnd Bergmann wrote:
> commit 4c59ff221e070 "wireless: Kconfig: add missing dependency" added a number
> of 'depends on CFG80211' statements, but missed the AIRO_CS driver that
> also causes the airo.c file to be built. This adds the (hopefully) last
> such missing statement

Thanks for the catch.

minor issue: commit log should be 'fails to be built'.

>
> Cc: "Zhao, Gang" <gamerh2o@xxxxxxxxx>
> Cc: "John W. Linville" <linville@xxxxxxxxxxxxx>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig
> index d1fab43..9c2c285 100644
> --- a/drivers/net/wireless/Kconfig
> +++ b/drivers/net/wireless/Kconfig
> @@ -116,7 +116,7 @@ config AT76C50X_USB
>
> config AIRO_CS
> tristate "Cisco/Aironet 34X/35X/4500/4800 PCMCIA cards"
> - depends on PCMCIA && (BROKEN || !M32R)
> + depends on CFG80211 && PCMCIA && (BROKEN || !M32R)
> select WIRELESS_EXT
> select WEXT_SPY
> select WEXT_PRIV
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/