kernel: add linux 4.4 support
[openwrt/staging/yousong.git] / target / linux / generic / patches-4.4 / 255-lib80211_kconfig_hacks.patch
diff --git a/target/linux/generic/patches-4.4/255-lib80211_kconfig_hacks.patch b/target/linux/generic/patches-4.4/255-lib80211_kconfig_hacks.patch
new file mode 100644 (file)
index 0000000..be75806
--- /dev/null
@@ -0,0 +1,31 @@
+--- a/net/wireless/Kconfig
++++ b/net/wireless/Kconfig
+@@ -201,7 +201,7 @@ config CFG80211_WEXT_EXPORT
+         wext compatibility symbols to be exported.
+ config LIB80211
+-      tristate
++      tristate "LIB80211"
+       default n
+       help
+         This options enables a library of common routines used
+@@ -210,13 +210,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"