summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e
diff options
context:
space:
mode:
authorNecip Fazil Yildiran <fazilyildiran@gmail.com>2020-09-15 12:42:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-16 13:13:00 +0200
commit02c4260713d62eff0875ca4a47019cd56371ffa7 (patch)
tree14e5bb69145bfab5c8951e64a30ca83758291dcd /drivers/staging/rtl8192e
parent243d040a6e4ae95408e133269dd72be2ba03dd48 (diff)
downloadlinux-02c4260713d62eff0875ca4a47019cd56371ffa7.tar.bz2
staging: rtl8192e: fix kconfig dependency warning for RTLLIB_CRYPTO_WEP
When RTLLIB_CRYPTO_WEP is enabled and CRYPTO is disabled, it results in the following Kbuild warning: WARNING: unmet direct dependencies detected for CRYPTO_ARC4 Depends on [n]: CRYPTO [=n] Selected by [m]: - RTLLIB_CRYPTO_WEP [=m] && STAGING [=y] && RTLLIB [=m] The reason is that RTLLIB_CRYPTO_WEP selects CRYPTO_ARC4 without depending on or selecting CRYPTO while CRYPTO_ARC4 is subordinate to CRYPTO. Honor the kconfig menu hierarchy to remove kconfig dependency warnings. Fixes: e0e3daddad36 ("staging: r8192e: Fix possible error in configuration") Signed-off-by: Necip Fazil Yildiran <fazilyildiran@gmail.com> Link: https://lore.kernel.org/r/20200915094209.22664-1-fazilyildiran@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r--drivers/staging/rtl8192e/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/rtl8192e/Kconfig b/drivers/staging/rtl8192e/Kconfig
index 01bb5fe8bd6f..31e076cc6f16 100644
--- a/drivers/staging/rtl8192e/Kconfig
+++ b/drivers/staging/rtl8192e/Kconfig
@@ -37,6 +37,7 @@ config RTLLIB_CRYPTO_TKIP
config RTLLIB_CRYPTO_WEP
tristate "Support for rtllib WEP crypto"
+ select CRYPTO
select CRYPTO_ARC4
depends on RTLLIB
default y