From 1861e931d5e1f5929ae37cc6eb6fc48470ca8e95 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Mon, 8 Apr 2013 19:20:04 +0200 Subject: [PATCH] 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 --- .../network/0009-disable-wext-kconfig.patch | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 patches/collateral-evolutions/network/0009-disable-wext-kconfig.patch 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. -- 2.30.2