add doit.sh
[openwrt/staging/blogic.git] / patches / 0004-disable-wext-kconfig.patch
1 There's no way to build wireless extensions out of tree
2 so remove the Kconfig options for them.
3
4 --- a/net/wireless/Kconfig
5 +++ b/net/wireless/Kconfig
6 @@ -1,21 +1,3 @@
7 -config WIRELESS_EXT
8 - bool
9 -
10 -config WEXT_CORE
11 - def_bool y
12 - depends on CFG80211_WEXT || WIRELESS_EXT
13 -
14 -config WEXT_PROC
15 - def_bool y
16 - depends on PROC_FS
17 - depends on WEXT_CORE
18 -
19 -config WEXT_SPY
20 - bool
21 -
22 -config WEXT_PRIV
23 - bool
24 -
25 config CFG80211
26 tristate "cfg80211 - wireless configuration API"
27 depends on RFKILL || !RFKILL
28 @@ -187,7 +169,7 @@ config CFG80211_CRDA_SUPPORT
29
30 config CFG80211_WEXT
31 bool "cfg80211 wireless extensions compatibility" if !CFG80211_WEXT_EXPORT
32 - select WEXT_CORE
33 + depends on WEXT_CORE
34 default y if CFG80211_WEXT_EXPORT
35 help
36 Enable this option if you need old userspace for wireless