From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Luis Rodriguez <Luis.Rodriguez@Atheros.com>,
"linville@tuxdriver.com" <linville@tuxdriver.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"Larry.Finger@lwfinger.net" <Larry.Finger@lwfinger.net>
Subject: Re: [PATCH v4 32/34] wireless: make mac80211 select cfg80211
Date: Mon, 17 Aug 2009 17:35:50 -0700 [thread overview]
Message-ID: <20090818003550.GG15363@mosca> (raw)
In-Reply-To: <1250545069.25876.0.camel@johannes.local>
On Mon, Aug 17, 2009 at 02:37:49PM -0700, Johannes Berg wrote:
> On Mon, 2009-08-17 at 10:00 -0700, Luis R. Rodriguez wrote:
> > On Fri, Aug 14, 2009 at 2:06 PM, Johannes Berg<johannes@sipsolutions.net> wrote:
> > > On Fri, 2009-08-14 at 16:25 -0400, Luis R. Rodriguez wrote:
> > >> We can now remove that comment about mac80211 requiring
> > >> cfg80211 and do that for the user.
> > >
> > > "now"? What changed to make this possible?
> > >
> > > NAK this change, because with it, it's possible to select
> > > mac80211 = Y
> > > -> cfg80211 = Y
> > > while rfkill = M
> > >
> > > which will break the kernel build.
> >
> > I'm able to do this with current kconfig, does this need to be fixed?
>
> I don't think you can select this with the current config since cfg80211
> depends on RFKILL == CFG80211 || RFKILL == n.
>
> So you can do
> CFG80211 = m
> RFKILL = m
>
> CFG80211 = *
> RFKILL = n
>
> CFG80211 = *
> RFKILL = y
>
> but NOT
>
> CFG80211 = y
> RFKILL = m
Ah I see, thanks. OK how about this then:
From: Luis R. Rodriguez <lrodriguez@atheros.com>
Subject: [PATCH] wireless: make mac80211 select cfg80211
This lets us keep mac80211 on the menu map even if cfg80211
is not enabled. We now remove that pesky comment about this.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
---
net/mac80211/Kconfig | 5 +----
net/rfkill/Kconfig | 1 +
net/wireless/Kconfig | 1 -
3 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig
index 8300d19..8fc6ae6 100644
--- a/net/mac80211/Kconfig
+++ b/net/mac80211/Kconfig
@@ -1,6 +1,6 @@
config MAC80211
tristate "mac80211 - SoftMAC device support"
- depends on CFG80211
+ select CFG80211
select CRYPTO
select CRYPTO_ECB
select CRYPTO_ARC4
@@ -23,9 +23,6 @@ config MAC80211
When built as a module mac80211 will be built as mac80211, if not sure
you should build this as a module.
-comment "CFG80211 needs to be enabled for MAC80211"
- depends on CFG80211=n
-
if MAC80211 != n
config MAC80211_RC_PID
diff --git a/net/rfkill/Kconfig b/net/rfkill/Kconfig
index eaf7658..65e98b8 100644
--- a/net/rfkill/Kconfig
+++ b/net/rfkill/Kconfig
@@ -3,6 +3,7 @@
#
menuconfig RFKILL
tristate "RF switch subsystem support"
+ depends on CFG80211 || !CFG80211
help
Say Y here if you want to have control over RF switches
found on many WiFi and Bluetooth cards.
diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig
index 982004b..524aeaf 100644
--- a/net/wireless/Kconfig
+++ b/net/wireless/Kconfig
@@ -1,6 +1,5 @@
config CFG80211
tristate "cfg80211 - wireless configuration API"
- depends on RFKILL || !RFKILL
---help---
cfg80211 is the Linux wireless LAN (802.11) configuration API.
Enable this if you have a wireless device.
--
1.6.3.3
next prev parent reply other threads:[~2009-08-18 0:35 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-14 20:25 [PATCH v4 00/34] wireless: update/re-arrange kconfigs Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 01/34] wireless: move iwmc3200wifi closer to the other intel drivers Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 02/34] wireless: group intel wireless drivers on kconfig Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 03/34] wireless: move MWL8K right below libertas " Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 05/34] wireless: move p54 and prism54 drivers closer " Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 06/34] wireless: group Conexant / STEricsson drivers in kconfig Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 07/34] wireless: move zd1211rw option closer to old ZyDAS on kconfig Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 08/34] wireless: group ZyDAS wireless drivers in kconfig Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 09/34] wireless: group Realtek wireless on kconfig Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 10/34] wireless: group Broadcom drivers " Luis R. Rodriguez
2009-08-15 12:09 ` Gábor Stefanik
2009-08-15 22:05 ` Luis R. Rodriguez
2009-08-16 13:15 ` Gábor Stefanik
2009-08-17 15:35 ` Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 11/34] wireless: clarify rndis_wlan is not broadcom specific Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 12/34] wireless: group Atmel wireless together on kconfig Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 13/34] wireless: move AIRO_CS closer to AIRO_CS Luis R. Rodriguez
2009-08-14 20:57 ` Pavel Roskin
2009-08-14 21:02 ` Gábor Stefanik
2009-08-14 20:25 ` [PATCH v4 14/34] wireless: group Cisco together on kconfig Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 15/34] wireless: move group drivers together Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 16/34] wireless: organize group drivers alphabetically Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 17/34] wireless: remove IEEE 802.11 description on hostapd Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 18/34] wireless: move mac80211_hwsim to top level wireless driver menu Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 19/34] wireless: organize individual drivers alphabetically Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 20/34] wireless: simplify WLAN_PRE80211 entries Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 21/34] wireless: simplify WLAN_80211 entries Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 22/34] wireless: remove "Wireless" from rndis kconfig entry Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 23/34] wireless: downgrade TI driver from menuconfig to config Luis R. Rodriguez
2009-08-15 12:13 ` Gábor Stefanik
2009-08-15 22:07 ` Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 24/34] wireless: Update TI kconfig description Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 25/34] wireless: make ath consistent with the other groups Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 26/34] wireless: update top level wireless driver entry Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 27/34] wireless: update wireless kconfig description Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 28/34] wireless: update cfg80211 kconfig entry Luis R. Rodriguez
2009-08-14 21:13 ` Johannes Berg
2009-08-14 20:25 ` [PATCH v4 29/34] wireless: update reg debug " Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 30/34] wireless: update WIRELESS_EXT " Luis R. Rodriguez
2009-08-14 21:09 ` Johannes Berg
2009-08-14 20:25 ` [PATCH v4 31/34] wireless: update mac80211 " Luis R. Rodriguez
2009-08-14 21:12 ` Johannes Berg
2009-08-14 20:25 ` [PATCH v4 32/34] wireless: make mac80211 select cfg80211 Luis R. Rodriguez
2009-08-14 21:06 ` Johannes Berg
2009-08-15 12:12 ` Gábor Stefanik
2009-08-15 12:15 ` Johannes Berg
2009-08-17 17:00 ` Luis R. Rodriguez
2009-08-17 21:37 ` Johannes Berg
2009-08-18 0:35 ` Luis R. Rodriguez [this message]
2009-08-18 7:15 ` Johannes Berg
2009-08-14 20:25 ` [PATCH v4 33/34] wireless: remove mac80211 rate selection extra menu Luis R. Rodriguez
2009-08-14 20:25 ` [PATCH v4 34/34] wireless: mark prism54.ko as deprecated and mark for removal Luis R. Rodriguez
2009-08-15 7:59 ` Johannes Berg
2009-08-17 17:06 ` Luis R. Rodriguez
2009-08-15 0:49 ` [PATCH v4 00/34] wireless: update/re-arrange kconfigs Luis R. Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090818003550.GG15363@mosca \
--to=lrodriguez@atheros.com \
--cc=Larry.Finger@lwfinger.net \
--cc=Luis.Rodriguez@Atheros.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.