From: Johannes Berg <johannes@sipsolutions.net>
To: linux-wireless@vger.kernel.org
Cc: James Ketrenos <jketreno@linux.intel.com>,
"John W. Linville" <linville@tuxdriver.com>
Subject: [PATCH] fix cfg80211 modular compile w/o wext-compat
Date: Fri, 16 Feb 2007 21:56:06 +0100 [thread overview]
Message-ID: <1171659366.3575.27.camel@johannes.berg> (raw)
The static inlines that are supposed to be used w/o wext-compat to init
wext-compat were done with the wrong #ifdef. This fixes it.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
--- wireless-dev.orig/net/wireless/wext.h 2007-02-16 21:51:26.354695664 +0100
+++ wireless-dev/net/wireless/wext.h 2007-02-16 21:55:32.794695664 +0100
@@ -29,10 +29,14 @@ int wireless_process_ioctl(struct ifreq
int cfg80211_wext_ioctl(struct ifreq *ifr, unsigned int cmd);
#ifdef CFG80211_MODULE
int call_cfg80211_wext_ioctl(struct ifreq *ifr, unsigned int cmd);
+#else
+#define call_cfg80211_wext_ioctl cfg80211_wext_ioctl
+#endif
+
+#ifdef CONFIG_CFG80211_WEXT_COMPAT
int cfg80211_wext_init(void);
void cfg80211_wext_exit(void);
#else
-#define call_cfg80211_wext_ioctl cfg80211_wext_ioctl
static inline int cfg80211_wext_init(void)
{
return 0;
next reply other threads:[~2007-02-16 20:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-16 20:56 Johannes Berg [this message]
2007-02-17 0:47 ` [PATCH] fix cfg80211 modular compile w/o wext-compat Johannes Berg
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=1171659366.3575.27.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=jketreno@linux.intel.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox