Select IWLWIFI_LEDS automatically when either IWL3945_LEDS or
IWL4965_LEDS is selected. This avoids potential misconfigurations
which lead to build failures for iwl-led.c.
Cc: Miles Lane <miles.lane@gmail.com>
Cc: reinette.chatre@intel.com
Signed-off-by: John w. Linville <linville@tuxdriver.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
config IWLWIFI_LEDS
- bool "Enable LEDS features in iwlwifi driver"
- depends on IWLCORE && MAC80211_LEDS && LEDS_CLASS
- ---help---
- This option enables LEDS for the iwlwifi drivers
-
+ bool
+ default n
config IWLCORE_RFKILL
boolean "IWLWIFI RF kill support"
config IWL4965_LEDS
bool "Enable LEDS features in iwl4965 driver"
- depends on IWL4965 && IWLWIFI_LEDS
+ depends on IWL4965 && MAC80211_LEDS && LEDS_CLASS
+ select IWLWIFI_LEDS
---help---
This option enables LEDS for the iwlwifi drivers