iw: update to 3.17
[openwrt.git] / package / kernel / mac80211 / patches / 301-ath5k-fix-AHB-kconfig-dependency.patch
1 From: Felix Fietkau <nbd@openwrt.org>
2 Date: Sat, 27 Sep 2014 15:58:51 +0200
3 Subject: [PATCH] ath5k: fix AHB kconfig dependency
4
5 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
6 ---
7
8 --- a/drivers/net/wireless/ath/ath5k/Kconfig
9 +++ b/drivers/net/wireless/ath/ath5k/Kconfig
10 @@ -7,8 +7,8 @@ config ATH5K
11         select BACKPORT_LEDS_CLASS
12         select BACKPORT_NEW_LEDS
13         select BACKPORT_AVERAGE
14 -       select ATH5K_AHB if (ATHEROS_AR231X && !PCI)
15 -       select ATH5K_PCI if (!ATHEROS_AR231X && PCI)
16 +       select ATH5K_AHB if ATHEROS_AR231X
17 +       select ATH5K_PCI if !ATHEROS_AR231X
18         ---help---
19           This module adds support for wireless adapters based on
20           Atheros 5xxx chipset.
21 @@ -55,14 +55,14 @@ config ATH5K_TRACER
22  
23  config ATH5K_AHB
24         bool "Atheros 5xxx AHB bus support"
25 -       depends on (ATHEROS_AR231X && !PCI)
26 +       depends on ATHEROS_AR231X
27         ---help---
28           This adds support for WiSoC type chipsets of the 5xxx Atheros
29           family.
30  
31  config ATH5K_PCI
32         bool "Atheros 5xxx PCI bus support"
33 -       depends on (!ATHEROS_AR231X && PCI)
34 +       depends on !ATHEROS_AR231X
35         ---help---
36           This adds support for PCI type chipsets of the 5xxx Atheros
37           family.