aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-10-29 21:04:30 +0000
committerJohn Crispin <blogic@openwrt.org>2014-10-29 21:04:30 +0000
commit14c26628af0c6aede940d248ef22549397c7da9b (patch)
treeffdced94c19da79fc15d8446a75ffe9d63cb34a1
parent487bb528893bf9489fdc058fe5a30d63b25e76be (diff)
downloadupstream-14c26628af0c6aede940d248ef22549397c7da9b.tar.gz
upstream-14c26628af0c6aede940d248ef22549397c7da9b.tar.bz2
upstream-14c26628af0c6aede940d248ef22549397c7da9b.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43112 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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"