summaryrefslogtreecommitdiffstats
path: root/net/wireless/Kconfig
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-10-15 09:25:18 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-10-16 09:15:39 +0200
commitb68630369167a7fd2c4c3d1be96430defc59fb9a (patch)
tree3caad5e514413a691ae2c90380a5b35bf38456a9 /net/wireless/Kconfig
parent922ec58c70cd4a1065dd3c9f94e845dc1348b533 (diff)
downloadtalos-obmc-linux-b68630369167a7fd2c4c3d1be96430defc59fb9a.tar.gz
talos-obmc-linux-b68630369167a7fd2c4c3d1be96430defc59fb9a.zip
cfg80211: reg: make CRDA support optional
If there's a built-in regulatory database, there may be little point in also calling out to CRDA and failing if the system is configured that way. Allow removing CRDA support to save ~1K kernel size. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/Kconfig')
-rw-r--r--net/wireless/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig
index 4f5543dd2524..da72ed32f143 100644
--- a/net/wireless/Kconfig
+++ b/net/wireless/Kconfig
@@ -174,6 +174,16 @@ config CFG80211_INTERNAL_REGDB
Most distributions have a CRDA package. So if unsure, say N.
+config CFG80211_CRDA_SUPPORT
+ bool "support CRDA" if CFG80211_INTERNAL_REGDB
+ default y
+ depends on CFG80211
+ help
+ You should enable this option unless you know for sure you have no
+ need for it, for example when using internal regdb (above.)
+
+ If unsure, say Y.
+
config CFG80211_WEXT
bool "cfg80211 wireless extensions compatibility" if !CFG80211_WEXT_EXPORT
depends on CFG80211
OpenPOWER on IntegriCloud