From 0156bb3ea7fa2664b4934806fa40a9b80750d1c5 Mon Sep 17 00:00:00 2001 From: Sean MacLennan Date: Wed, 14 Dec 2011 20:18:44 -0500 Subject: staging: fix build problem with staging/rtl8192e The rtllib and rtllib_crypt drivers are both required for a fully functional rtllib. Make sure both are always available by having rtllib select rtllib_crypt. Reported-by: Randy Dunlap Signed-off-by: Sean MacLennan Acked-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8192e/Kconfig | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'drivers/staging/rtl8192e/Kconfig') diff --git a/drivers/staging/rtl8192e/Kconfig b/drivers/staging/rtl8192e/Kconfig index a24305d7ae39..878f384c0aab 100644 --- a/drivers/staging/rtl8192e/Kconfig +++ b/drivers/staging/rtl8192e/Kconfig @@ -2,6 +2,7 @@ config RTLLIB tristate "Support for rtllib wireless devices" depends on WLAN && m default n + select RTLLIB_CRYPTO ---help--- If you have a wireless card that uses rtllib, say Y. Currently the only card is the rtl8192e. @@ -12,16 +13,12 @@ if RTLLIB config RTLLIB_CRYPTO tristate "Support for rtllib crypto support" - depends on RTLLIB - default y ---help--- - CCMP crypto driver for rtllib. - - If you enabled RTLLIB, you want this. + Base crypto driver for rtllib. config RTLLIB_CRYPTO_CCMP tristate "Support for rtllib CCMP crypto" - depends on RTLLIB && RTLLIB_CRYPTO + depends on RTLLIB_CRYPTO default y ---help--- CCMP crypto driver for rtllib. @@ -30,7 +27,7 @@ config RTLLIB_CRYPTO_CCMP config RTLLIB_CRYPTO_TKIP tristate "Support for rtllib TKIP crypto" - depends on RTLLIB && RTLLIB_CRYPTO + depends on RTLLIB_CRYPTO default y ---help--- TKIP crypto driver for rtllib. @@ -39,7 +36,7 @@ config RTLLIB_CRYPTO_TKIP config RTLLIB_CRYPTO_WEP tristate "Support for rtllib WEP crypto" - depends on RTLLIB && RTLLIB_CRYPTO + depends on RTLLIB_CRYPTO default y ---help--- TKIP crypto driver for rtllib. -- cgit v1.2.3-59-g8ed1b