aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-10-29 21:04:30 +0000
committerJohn Crispin <john@openwrt.org>2014-10-29 21:04:30 +0000
commitca28f9c515430b72635ed244a09ed960179ed666 (patch)
tree34519e9fdb78974e12b12d39fac159de809b4802
parent9205c6da4b25682d140dce715c14bd596dd967cb (diff)
downloadupstream-ca28f9c515430b72635ed244a09ed960179ed666.tar.gz
upstream-ca28f9c515430b72635ed244a09ed960179ed666.tar.bz2
upstream-ca28f9c515430b72635ed244a09ed960179ed666.zip
mac80211: configuration: Better handling of LIB80211 configuration
OpenWRT patch 255-lib80211_kconfig_hacks gives user possiblity to select LIB80211 dependant settings (LIB80211_CRYPT_*) without having LIB80211 selected which is wrong. My patch changes OpenWRT patch so LIB80211 is vissible and all LIB80211_CRYPT_* options selects LIB80211 automatically. Signed-off-by: Tomasz Wasiak <tjwasiak@gmail.com> SVN-Revision: 43112
-rw-r--r--target/linux/generic/patches-3.10/255-lib80211_kconfig_hacks.patch14
1 files changed, 13 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.10/255-lib80211_kconfig_hacks.patch b/target/linux/generic/patches-3.10/255-lib80211_kconfig_hacks.patch
index 8cc6ba3513..3628193021 100644
--- a/target/linux/generic/patches-3.10/255-lib80211_kconfig_hacks.patch
+++ b/target/linux/generic/patches-3.10/255-lib80211_kconfig_hacks.patch
@@ -1,19 +1,31 @@
--- a/net/wireless/Kconfig
+++ b/net/wireless/Kconfig
-@@ -149,13 +149,13 @@ config LIB80211
+@@ -140,7 +140,7 @@ config CFG80211_WEXT
+ extensions with cfg80211-based drivers.
+
+ config LIB80211
+- tristate
++ tristate "LIB80211"
+ default n
+ help
+ This options enables a library of common routines used
+@@ -149,13 +149,16 @@ config LIB80211
Drivers should select this themselves if needed.
config LIB80211_CRYPT_WEP
- tristate
+ tristate "LIB80211_CRYPT_WEP"
++ select LIB80211
config LIB80211_CRYPT_CCMP
- tristate
+ tristate "LIB80211_CRYPT_CCMP"
++ select LIB80211
config LIB80211_CRYPT_TKIP
- tristate
+ tristate "LIB80211_CRYPT_TKIP"
++ select LIB80211
config LIB80211_DEBUG
bool "lib80211 debugging messages"