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 <rdunlap@xenotime.net>
Signed-off-by: Sean MacLennan <seanm@seanm.ca>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff --git a/drivers/staging/rtl8192e/Kconfig b/drivers/staging/rtl8192e/Kconfig
index a24305d..878f384 100644
--- a/drivers/staging/rtl8192e/Kconfig
+++ b/drivers/staging/rtl8192e/Kconfig
@@ -2,6 +2,7 @@
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 @@
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_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_WEP
tristate "Support for rtllib WEP crypto"
- depends on RTLLIB && RTLLIB_CRYPTO
+ depends on RTLLIB_CRYPTO
default y
---help---
TKIP crypto driver for rtllib.