]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: don't allow disabling WEXT if it's required
authorJohannes Berg <johannes.berg@intel.com>
Wed, 8 Apr 2015 07:16:32 +0000 (09:16 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 8 Apr 2015 07:19:29 +0000 (09:19 +0200)
commitd61bddae7204656d84223ee07c992f64a90a7e9a
tree3c2b90a88ed46f469d8df20bfd0710b05f5acfd5
parent7996fee80c084532f66ccd4f3a5f9e9df93131be
cfg80211: don't allow disabling WEXT if it's required

The change to only export WEXT symbols when required could break
the build if CONFIG_CFG80211_WEXT was explicitly disabled while
a driver like orinoco selected it.

Fix this by hiding the symbol when it's required so it can't be
disabled in that case.

Fixes: c895cf5f99e0 ("cfg80211-wext: export symbols only when needed")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/Kconfig