From: Johannes Berg Date: Mon, 8 Apr 2013 17:20:04 +0000 (+0200) Subject: backport: add patch to disable wireless extensions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1861e931d5e1f5929ae37cc6eb6fc48470ca8e95;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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 000000000000..83752e8cd444 --- /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.