linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] b43: Fix kconfig dependencies for rfkill and leds
@ 2007-11-07 20:24 Michael Buesch
  2007-11-07 23:28 ` Stefano Brivio
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Buesch @ 2007-11-07 20:24 UTC (permalink / raw)
  To: John Linville; +Cc: bcm43xx-dev, linux-wireless, Stefano Brivio

Fix dependencies for built-in b43.

Signed-off-by: Michael Buesch <mb@bu3sch.de>

---

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?

Index: wireless-2.6/drivers/net/wireless/b43/Kconfig
===================================================================
--- wireless-2.6.orig/drivers/net/wireless/b43/Kconfig	2007-10-27 13:28:16.000000000 +0200
+++ wireless-2.6/drivers/net/wireless/b43/Kconfig	2007-10-27 14:29:28.000000000 +0200
@@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] b43: Fix kconfig dependencies for rfkill and leds
  2007-11-07 20:24 [PATCH] b43: Fix kconfig dependencies for rfkill and leds Michael Buesch
@ 2007-11-07 23:28 ` Stefano Brivio
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Brivio @ 2007-11-07 23:28 UTC (permalink / raw)
  To: Michael Buesch; +Cc: John Linville, bcm43xx-dev, linux-wireless

On Wed, 7 Nov 2007 21:24:07 +0100
Michael Buesch <mb@bu3sch.de> wrote:

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

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


-- 
Ciao
Stefano

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-07 23:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-07 20:24 [PATCH] b43: Fix kconfig dependencies for rfkill and leds Michael Buesch
2007-11-07 23:28 ` Stefano Brivio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).