summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-04-08 19:20:04 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-04-08 21:14:07 +0200
commit1861e931d5e1f5929ae37cc6eb6fc48470ca8e95 (patch)
tree590348cdda06f1e94dae007aa45f6f61083d8ef2 /patches/collateral-evolutions
parent4673b0b774de44d3f101bb677e2a44312a36f1b9 (diff)
backport: add patch to disable wireless extensions
There's no way to build wireless extensions out of tree, remove the Kconfig support for them entirely. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches/collateral-evolutions')
-rw-r--r--patches/collateral-evolutions/network/0009-disable-wext-kconfig.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/patches/collateral-evolutions/network/0009-disable-wext-kconfig.patch b/patches/collateral-evolutions/network/0009-disable-wext-kconfig.patch
new file mode 100644
index 00000000..83752e8c
--- /dev/null
+++ b/patches/collateral-evolutions/network/0009-disable-wext-kconfig.patch
@@ -0,0 +1,36 @@
+There's no way to build wireless extensions out of tree
+so remove the Kconfig options for them.
+
+--- a/net/wireless/Kconfig
++++ b/net/wireless/Kconfig
+@@ -1,21 +1,3 @@
+-config WIRELESS_EXT
+- bool
+-
+-config WEXT_CORE
+- def_bool y
+- depends on CFG80211_WEXT || WIRELESS_EXT
+-
+-config WEXT_PROC
+- def_bool y
+- depends on PROC_FS
+- depends on WEXT_CORE
+-
+-config WEXT_SPY
+- bool
+-
+-config WEXT_PRIV
+- bool
+-
+ config CFG80211
+ tristate "cfg80211 - wireless configuration API"
+ depends on m
+@@ -135,7 +117,7 @@ config CFG80211_INTERNAL_REGDB
+ config CFG80211_WEXT
+ bool "cfg80211 wireless extensions compatibility"
+ depends on CFG80211
+- select WEXT_CORE
++ depends on WEXT_CORE
+ help
+ Enable this option if you need old userspace for wireless
+ extensions with cfg80211-based drivers.