[PATCH] cfg80211: stop demanding lots of new stuff

From: Hugh Dickins
Date: Wed Jan 17 2018 - 17:55:37 EST


"make oldconfig" from 4.14 (when CONFIG_CFG80211_CERTIFICATION_ONUS
is not set) to 4.15-rc, gets into asking lots of new questions, and
configuring in unwanted stuff: I'm unsure of my Kconfig skills, but
it looks like CFG80211_REQUIRE_SIGNED_REGDB's "default y" needs to
be toned down when we don't even have CFG80211_CERTIFICATION_ONUS.

Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx>
---

net/wireless/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 4.15-rc8/net/wireless/Kconfig 2017-12-03 10:22:51.928845056 -0800
+++ linux/net/wireless/Kconfig 2018-01-14 19:20:22.595472965 -0800
@@ -89,7 +89,7 @@ config CFG80211_CERTIFICATION_ONUS

config CFG80211_REQUIRE_SIGNED_REGDB
bool "require regdb signature" if CFG80211_CERTIFICATION_ONUS
- default y
+ default CFG80211_CERTIFICATION_ONUS
select SYSTEM_DATA_VERIFICATION
help
Require that in addition to the "regulatory.db" file a