• Romain Naour's avatar
    cfg80211: add missing dependency to CFG80211 suboptions · a7887236
    Romain Naour authored
    New options introduced by the patch this fixes are still
    enabled even if CFG80211 is disabled.
    
    .config:
        # CONFIG_CFG80211 is not set
        CONFIG_CFG80211_REQUIRE_SIGNED_REGDB=y
        CONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=y
        # CONFIG_LIB80211 is not set
    
    When CFG80211_REQUIRE_SIGNED_REGDB is enabled, it selects
    SYSTEM_DATA_VERIFICATION which selects SYSTEM_TRUSTED_KEYRING
    that need extract-cert tool. extract-cert needs some openssl
    headers to be installed on the build machine.
    
    Instead of adding missing "depends on CFG80211", it's
    easier to use a 'if' block around all options related
    to CFG80211, so do that.
    
    Fixes: 90a53e44 ("cfg80211: implement regdb signature checking")
    Signed-off-by: default avatarRomain Naour <romain.naour@gmail.com>
    [touch up commit message a bit]
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    a7887236
Name
Last commit
Last update
..
certs Loading commit data...
.gitignore Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
ap.c Loading commit data...
chan.c Loading commit data...
core.c Loading commit data...
core.h Loading commit data...
debugfs.c Loading commit data...
debugfs.h Loading commit data...
ethtool.c Loading commit data...
ibss.c Loading commit data...
lib80211.c Loading commit data...
lib80211_crypt_ccmp.c Loading commit data...
lib80211_crypt_tkip.c Loading commit data...
lib80211_crypt_wep.c Loading commit data...
mesh.c Loading commit data...
mlme.c Loading commit data...
nl80211.c Loading commit data...
nl80211.h Loading commit data...
ocb.c Loading commit data...
of.c Loading commit data...
radiotap.c Loading commit data...
rdev-ops.h Loading commit data...
reg.c Loading commit data...
reg.h Loading commit data...
scan.c Loading commit data...
sme.c Loading commit data...
sysfs.c Loading commit data...
sysfs.h Loading commit data...
trace.c Loading commit data...
trace.h Loading commit data...
util.c Loading commit data...
wext-compat.c Loading commit data...
wext-compat.h Loading commit data...
wext-core.c Loading commit data...
wext-priv.c Loading commit data...
wext-proc.c Loading commit data...
wext-sme.c Loading commit data...
wext-spy.c Loading commit data...