* [PATCH] compat-wireless: fix compilation for 2.6.32
@ 2010-06-20 9:44 Paul Fertser
2010-06-21 19:01 ` Luis R. Rodriguez
0 siblings, 1 reply; 2+ messages in thread
From: Paul Fertser @ 2010-06-20 9:44 UTC (permalink / raw)
To: Luis R. Rodriguez; +Cc: linux-wireless, Paul Fertser
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] compat-wireless: fix compilation for 2.6.32
2010-06-20 9:44 [PATCH] compat-wireless: fix compilation for 2.6.32 Paul Fertser
@ 2010-06-21 19:01 ` Luis R. Rodriguez
0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2010-06-21 19:01 UTC (permalink / raw)
To: Paul Fertser; +Cc: Luis R. Rodriguez, linux-wireless
On Sun, Jun 20, 2010 at 2:44 AM, Paul Fertser <fercerpav@gmail.com> wrote:
> 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>
Awesome thanks, applied and I propagated this to the linux-2.6.35.y branch too.
Luis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-21 19:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-20 9:44 [PATCH] compat-wireless: fix compilation for 2.6.32 Paul Fertser
2010-06-21 19:01 ` Luis R. Rodriguez
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).