Skip to content

Commit

Permalink
b43legacy: fix kconfig dependecies for rfkill and leds
Browse files Browse the repository at this point in the history
Fix dependencies for built-in b43legacy.

The patch to b43 by Michael Buesch <mb@bu3sch.de> has been ported to
b43legacy.

Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Stefano Brivio authored and David S. Miller committed Jan 28, 2008
1 parent 1d43d31 commit 59f1b15
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions drivers/net/wireless/b43legacy/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,19 @@ config B43LEGACY_PCICORE_AUTOSELECT
default y

# LED support
# This config option automatically enables b43legacy LEDS support,
# if it's possible.
config B43LEGACY_LEDS
bool
depends on B43LEGACY && MAC80211_LEDS
depends on B43LEGACY && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = B43LEGACY)
default y

# RFKILL support
# This config option automatically enables b43legacy RFKILL support,
# if it's possible.
config B43LEGACY_RFKILL
bool
depends on B43LEGACY && RFKILL && RFKILL_INPUT && INPUT_POLLDEV
depends on B43LEGACY && (RFKILL = y || RFKILL = B43LEGACY) && RFKILL_INPUT && (INPUT_POLLDEV = y || INPUT_POLLDEV = B43LEGACY)
default y

config B43LEGACY_DEBUG
Expand Down

0 comments on commit 59f1b15

Please sign in to comment.