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>
This commit is contained in:
Sean MacLennan 2011-12-14 20:18:44 -05:00 committed by Greg Kroah-Hartman
parent c0fdbe149c
commit 0156bb3ea7

View File

@ -2,6 +2,7 @@ config RTLLIB
tristate "Support for rtllib wireless devices" tristate "Support for rtllib wireless devices"
depends on WLAN && m depends on WLAN && m
default n default n
select RTLLIB_CRYPTO
---help--- ---help---
If you have a wireless card that uses rtllib, say If you have a wireless card that uses rtllib, say
Y. Currently the only card is the rtl8192e. Y. Currently the only card is the rtl8192e.
@ -12,16 +13,12 @@ if RTLLIB
config RTLLIB_CRYPTO config RTLLIB_CRYPTO
tristate "Support for rtllib crypto support" tristate "Support for rtllib crypto support"
depends on RTLLIB
default y
---help--- ---help---
CCMP crypto driver for rtllib. Base crypto driver for rtllib.
If you enabled RTLLIB, you want this.
config RTLLIB_CRYPTO_CCMP config RTLLIB_CRYPTO_CCMP
tristate "Support for rtllib CCMP crypto" tristate "Support for rtllib CCMP crypto"
depends on RTLLIB && RTLLIB_CRYPTO depends on RTLLIB_CRYPTO
default y default y
---help--- ---help---
CCMP crypto driver for rtllib. CCMP crypto driver for rtllib.
@ -30,7 +27,7 @@ config RTLLIB_CRYPTO_CCMP
config RTLLIB_CRYPTO_TKIP config RTLLIB_CRYPTO_TKIP
tristate "Support for rtllib TKIP crypto" tristate "Support for rtllib TKIP crypto"
depends on RTLLIB && RTLLIB_CRYPTO depends on RTLLIB_CRYPTO
default y default y
---help--- ---help---
TKIP crypto driver for rtllib. TKIP crypto driver for rtllib.
@ -39,7 +36,7 @@ config RTLLIB_CRYPTO_TKIP
config RTLLIB_CRYPTO_WEP config RTLLIB_CRYPTO_WEP
tristate "Support for rtllib WEP crypto" tristate "Support for rtllib WEP crypto"
depends on RTLLIB && RTLLIB_CRYPTO depends on RTLLIB_CRYPTO
default y default y
---help--- ---help---
TKIP crypto driver for rtllib. TKIP crypto driver for rtllib.