openwrtv4/package/kernel/mac80211/patches/301-ath5k-fix-AHB-kconfig-dependency.patch

38 lines
1.1 KiB
Diff
Raw Normal View History

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.