From: Paul Fertser <fercerpav@gmail.com>
To: "Luis R. Rodriguez" <mcgrof@kernel.org>
Cc: linux-wireless@vger.kernel.org, Paul Fertser <fercerpav@gmail.com>
Subject: [PATCH] compat-wireless: fix compilation for 2.6.32
Date: Sun, 20 Jun 2010 13:44:57 +0400 [thread overview]
Message-ID: <1277027097-3222-1-git-send-email-fercerpav@gmail.com> (raw)
2.6.32 was the latest version using CONFIG_WIRELESS_EXT. Without this patch
compilation produced
net/wireless/wext-compat.c:443: error: ‘struct wireless_dev’ has no member named ‘wext’
since config.mk defined CONFIG_CFG80211_WEXT but autoconf.sh didn't.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
---
scripts/gen-compat-autoconf.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/gen-compat-autoconf.sh b/scripts/gen-compat-autoconf.sh
index 88e2740..1e3002e 100755
--- a/scripts/gen-compat-autoconf.sh
+++ b/scripts/gen-compat-autoconf.sh
@@ -192,7 +192,7 @@ if [ -f $KLIB_BUILD/Makefile ]; then
define_config_multiple_deps CONFIG_MAC80211_QOS y $ALL_DEPS
rm -f $MULT_DEP_FILE
# Kernels >= 2.6.32 can disable WEXT :D
- if [ $SUBLEVEL -lt 32 ]; then
+ if [ $SUBLEVEL -le 32 ]; then
define_config_dep CONFIG_CFG80211_WEXT 1 CONFIG_WIRELESS_EXT
fi
fi
--
1.6.4.4
next reply other threads:[~2010-06-20 9:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-20 9:44 Paul Fertser [this message]
2010-06-21 19:01 ` [PATCH] compat-wireless: fix compilation for 2.6.32 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=1277027097-3222-1-git-send-email-fercerpav@gmail.com \
--to=fercerpav@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=mcgrof@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).