From: Johannes Berg <johannes@sipsolutions.net>
To: Reinette Chatre <reinette.chatre@intel.com>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] cfg80211/nl80211: remove usage of CONFIG_NL80211
Date: Thu, 12 Mar 2009 08:16:50 +0100 [thread overview]
Message-ID: <1236842210.4175.8.camel@johannes.local> (raw)
In-Reply-To: <1236812988-31827-1-git-send-email-reinette.chatre@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1284 bytes --]
On Wed, 2009-03-11 at 16:09 -0700, Reinette Chatre wrote:
> From: Reinette Chatre <reinette.chatre@intel.com>
>
> The scan capability added to cfg80211/nl80211 introduced a
> dependency on nl80211 by cfg80211. We can thus no longer have
> just cfg80211 without nl80211. Specifically, cfg80211_scan_done()
> calls nl80211_send_scan_aborted() or nl80211_send_scan_done().
>
> Now we remove the option for user to select nl80211. It will always
> be compiled if user selects cfg80211.
>
> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
I agree, it's quite pointless to make this configurable, and we keep
breaking it like in this case.
> --- a/net/wireless/nl80211.h
> +++ b/net/wireless/nl80211.h
> @@ -3,7 +3,6 @@
>
> #include "core.h"
>
> -#ifdef CONFIG_NL80211
> extern int nl80211_init(void);
> extern void nl80211_exit(void);
> extern void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev);
> @@ -31,6 +30,5 @@ static inline void nl80211_send_scan_aborted(
> struct cfg80211_registered_device *rdev,
> struct net_device *netdev)
> {}
> -#endif /* CONFIG_NL80211 */
This doesn't seem quite right though, there's an #else with inlines in
the file which we need to remove entirely.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2009-03-12 7:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-11 23:09 [PATCH] cfg80211/nl80211: remove usage of CONFIG_NL80211 Reinette Chatre
2009-03-12 7:16 ` Johannes Berg [this message]
2009-03-12 16:20 ` [PATCH v2] " reinette chatre
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=1236842210.4175.8.camel@johannes.local \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=reinette.chatre@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox