Skip to content
Commit b959ba9f authored by Necip Fazil Yildiran's avatar Necip Fazil Yildiran Committed by Johannes Berg
Browse files

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: a11e2f85 ("lib80211: use crypto API ccm(aes) transform for CCMP processing")
Signed-off-by: default avatarNecip Fazil Yildiran <fazilyildiran@gmail.com>
Link: https://lore.kernel.org/r/20200909095452.3080-1-fazilyildiran@gmail.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 8e280369
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment