diff options
Diffstat (limited to 'package/kernel/mac80211/patches/301-ath5k-fix-AHB-kconfig-dependency.patch')
-rw-r--r-- | package/kernel/mac80211/patches/301-ath5k-fix-AHB-kconfig-dependency.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/301-ath5k-fix-AHB-kconfig-dependency.patch b/package/kernel/mac80211/patches/301-ath5k-fix-AHB-kconfig-dependency.patch new file mode 100644 index 0000000000..5db28be135 --- /dev/null +++ b/package/kernel/mac80211/patches/301-ath5k-fix-AHB-kconfig-dependency.patch @@ -0,0 +1,37 @@ +From: Felix Fietkau <nbd@openwrt.org> +Date: Sat, 27 Sep 2014 15:58:51 +0200 +Subject: [PATCH] ath5k: fix AHB kconfig dependency + +Signed-off-by: Felix Fietkau <nbd@openwrt.org> +--- + +--- a/drivers/net/wireless/ath/ath5k/Kconfig ++++ b/drivers/net/wireless/ath/ath5k/Kconfig +@@ -7,8 +7,8 @@ config ATH5K + select BACKPORT_LEDS_CLASS + select BACKPORT_NEW_LEDS + select BACKPORT_AVERAGE +- select ATH5K_AHB if (ATHEROS_AR231X && !PCI) +- select ATH5K_PCI if (!ATHEROS_AR231X && PCI) ++ select ATH5K_AHB if ATHEROS_AR231X ++ select ATH5K_PCI if !ATHEROS_AR231X + ---help--- + This module adds support for wireless adapters based on + Atheros 5xxx chipset. +@@ -55,14 +55,14 @@ config ATH5K_TRACER + + config ATH5K_AHB + bool "Atheros 5xxx AHB bus support" +- depends on (ATHEROS_AR231X && !PCI) ++ depends on ATHEROS_AR231X + ---help--- + This adds support for WiSoC type chipsets of the 5xxx Atheros + family. + + config ATH5K_PCI + bool "Atheros 5xxx PCI bus support" +- depends on (!ATHEROS_AR231X && PCI) ++ depends on !ATHEROS_AR231X + ---help--- + This adds support for PCI type chipsets of the 5xxx Atheros + family. |