Skip to content

Commit

Permalink
wireless: Fix compile error with wifi & leds
Browse files Browse the repository at this point in the history
Fix build error caused by commit
e82404a ("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>
  • Loading branch information
Luca Tettamanti authored and David S. Miller committed Apr 27, 2008
1 parent 9ae27e0 commit bd8fd21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion net/mac80211/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ config MAC80211_MESH

config MAC80211_LEDS
bool "Enable LED triggers"
depends on MAC80211 && LEDS_TRIGGERS
depends on MAC80211
select NEW_LEDS
select LEDS_TRIGGERS
---help---
This option enables a few LED triggers for different
packet receive/transmit events.
Expand Down

0 comments on commit bd8fd21

Please sign in to comment.