ath9k_htc: Do not select MAC80211_LEDS by default
Subsystems (3)
PATCH 1/1 ath9k_htc: Do not select MAC80211_LEDS by default
The ath9k_htc driver hides all LEDs related code behind CONFIG_MAC80211_LEDS ifdefs so it does not really require the MAC80211_LEDS. The code builds and works just fine. Convert the "select" into "imply" to allow disabling LED trigger when not needed.
Signed-off-by Krzysztof Kozlowski <[email protected]>
--- drivers/net/wireless/ath/ath9k/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/net/wireless/ath/ath9k/Kconfig +3 -3
@@ -177,10 +177,10 @@ config ATH9K_HTC tristate "Atheros HTC based wireless cards support" depends on USB && MAC80211 select ATH9K_HW - select MAC80211_LEDS - select LEDS_CLASS - select NEW_LEDS select ATH9K_COMMON + imply NEW_LEDS + imply LEDS_CLASS + imply MAC80211_LEDS help Support for Atheros HTC based cards. Chipsets supported: AR9271
Signature · 1 line
2.17.1
Quoted 7 lines · Krzysztof Kozlowski
The
ath9k_htcdriver hides all LEDs related code behindCONFIG_MAC80211_LEDSifdefs so it does not really require theMAC80211_LEDS. The code builds and works just fine. Convert the "select" into "imply" to allow disabling LED trigger when not needed.Signed-off-by Krzysztof Kozlowski <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
197f466e93f5 ath9k_htc: Do not select MAC80211_LEDS by default
Signature · 3 lines
https://patchwork.kernel.org/patch/11726211/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches