backport: add patch to disable wireless extensions
authorJohannes Berg <johannes.berg@intel.com>
Mon, 8 Apr 2013 17:20:04 +0000 (19:20 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 Apr 2013 19:14:07 +0000 (21:14 +0200)
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>
patches/collateral-evolutions/network/0009-disable-wext-kconfig.patch [new file with mode: 0644]

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 (file)
index 0000000..83752e8
--- /dev/null
@@ -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.