OSDN Git Service

lib80211: fix unmet direct dependendices config warning when !CRYPTO
authorNecip Fazil Yildiran <fazilyildiran@gmail.com>
Wed, 9 Sep 2020 09:54:53 +0000 (12:54 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Sep 2020 09:37:24 +0000 (11:37 +0200)
commitb959ba9f468b1c581f40e92661ad58b093abaa03
tree1367d6dec274bd8c6742aa7c201e34f8f593c640
parent8e280369b9076dc08ce13c802c1687b81b4cccd4
lib80211: fix unmet direct dependendices config warning when !CRYPTO

When LIB80211_CRYPT_CCMP is enabled and CRYPTO is disabled, it results in unmet
direct dependencies config warning. The reason is that LIB80211_CRYPT_CCMP
selects CRYPTO_AES and CRYPTO_CCM, which are subordinate to CRYPTO. This is
reproducible with CRYPTO disabled and R8188EU enabled, where R8188EU selects
LIB80211_CRYPT_CCMP but does not select or depend on CRYPTO.

Honor the kconfig menu hierarchy to remove kconfig dependency warnings.

Fixes: a11e2f85481c ("lib80211: use crypto API ccm(aes) transform for CCMP processing")
Signed-off-by: Necip Fazil Yildiran <fazilyildiran@gmail.com>
Link: https://lore.kernel.org/r/20200909095452.3080-1-fazilyildiran@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/Kconfig