]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/wireless/Kconfig
cfg80211-wext: export symbols only when needed
[karo-tx-linux.git] / net / wireless / Kconfig
index 29c8675f9a1189db65c185f2ad04f96a67702989..b13dfb4ff001908160ba087db5d25377d43c5491 100644 (file)
@@ -178,10 +178,18 @@ config CFG80211_WEXT
        bool "cfg80211 wireless extensions compatibility"
        depends on CFG80211
        select WEXT_CORE
+       default y if CFG80211_WEXT_EXPORT
        help
          Enable this option if you need old userspace for wireless
          extensions with cfg80211-based drivers.
 
+config CFG80211_WEXT_EXPORT
+       bool
+       depends on CFG80211
+       help
+         Drivers should select this option if they require cfg80211's
+         wext compatibility symbols to be exported.
+
 config LIB80211
        tristate
        default n