diff options
author | Luca Tettamanti <kronos.it@gmail.com> | 2008-04-27 18:34:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-27 18:34:55 -0400 |
commit | bd8fd21dfddf51299d782f598cb776b15b7d64cc (patch) | |
tree | a9728408abb166871acde7caaac3945e687f1782 /net/mac80211/Kconfig | |
parent | 9ae27e0adbf471c7a6b80102e38e1d5a346b3b38 (diff) |
wireless: Fix compile error with wifi & leds
Fix build error caused by commit
e82404ad612ebabc65d15c3d59b971cb35c3ff36 ("iwlwifi: Select
LEDS_CLASS.") from David Miller:
Since MAC80211_LEDS is selected by wireless drivers it must select its
own dependencies otherwise a build error may occur (kbuild will select
the symbol regardless of "depends" constraints).
Signed-off-By: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/Kconfig')
-rw-r--r-- | net/mac80211/Kconfig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig index 520a5180a4f6..a24b459dd45a 100644 --- a/net/mac80211/Kconfig +++ b/net/mac80211/Kconfig | |||
@@ -73,7 +73,9 @@ config MAC80211_MESH | |||
73 | 73 | ||
74 | config MAC80211_LEDS | 74 | config MAC80211_LEDS |
75 | bool "Enable LED triggers" | 75 | bool "Enable LED triggers" |
76 | depends on MAC80211 && LEDS_TRIGGERS | 76 | depends on MAC80211 |
77 | select NEW_LEDS | ||
78 | select LEDS_TRIGGERS | ||
77 | ---help--- | 79 | ---help--- |
78 | This option enables a few LED triggers for different | 80 | This option enables a few LED triggers for different |
79 | packet receive/transmit events. | 81 | packet receive/transmit events. |