Skip to contentSkip to conversation

b43: Fix kconfig dependencies for rfkill and leds

PATCH In review Michael Buesch 2 participants 2 messages Nov 7, 2007 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 b43: Fix kconfig dependencies for rfkill and leds

Fix dependencies for built-in b43.

---

I thought that I already submitted this patch, but it's not in wireless-2.6. Maybe it was lost somewhere inbetween us or I simply forgot to send it.

Stefano, can you check if this patch is already applied to b43legacy?

drivers/net/wireless/b43/Kconfig +6 -4
Index: wireless-2.6/drivers/net/wireless/b43/Kconfig
===================================================================
@@ -61,16 +61,18 @@ config B43_PCMCIA
 
 	  If unsure, say N.
 
-# LED support
+# This config option automatically enables b43 LEDS support,
+# if it's possible.
 config B43_LEDS
 	bool
-	depends on B43 && MAC80211_LEDS
+	depends on B43 && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = B43)
 	default y
 
-# RFKILL support
+# This config option automatically enables b43 RFKILL support,
+# if it's possible.
 config B43_RFKILL
 	bool
-	depends on B43 && RFKILL && RFKILL_INPUT && INPUT_POLLDEV
+	depends on B43 && (RFKILL = y || RFKILL = B43) && RFKILL_INPUT && (INPUT_POLLDEV = y || INPUT_POLLDEV = B43)
 	default y
 
 config B43_DEBUG
#1 lore raw
Quoted 1 line · On Wed, 7 Nov 2007 21:24:07 +0100 Michael Buesch <[email protected]> wrote:

Stefano, can you check if this patch is already applied to b43legacy?

It wasn't, I just sent it. Thank you.

Signature · 2 lines
Ciao
Stefano