aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2012-04-16 17:06:18 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-18 19:58:16 -0400
commite0e3daddad36f8303ca3bbeab558ced00f4e7d3e (patch)
tree6f3ade9aba4036b628dd5ad532da93d8953dd5da
parent6b56d2459be6ce0e87b18a4276fef5d1bc265320 (diff)
staging: r8192e: Fix possible error in configuration
It is possible to misconfigure a kernel by selecting the rtllib crypto routines without enabling the underlying support from the crypto library. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Acked-by: Sean MacLennan <seanm@seanm.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8192e/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/rtl8192e/Kconfig b/drivers/staging/rtl8192e/Kconfig
index f87e21101857..4602a47cdb4a 100644
--- a/drivers/staging/rtl8192e/Kconfig
+++ b/drivers/staging/rtl8192e/Kconfig
@@ -14,6 +14,7 @@ if RTLLIB
14config RTLLIB_CRYPTO_CCMP 14config RTLLIB_CRYPTO_CCMP
15 tristate "Support for rtllib CCMP crypto" 15 tristate "Support for rtllib CCMP crypto"
16 depends on RTLLIB 16 depends on RTLLIB
17 select CRYPTO_AES
17 default y 18 default y
18 ---help--- 19 ---help---
19 CCMP crypto driver for rtllib. 20 CCMP crypto driver for rtllib.
@@ -23,6 +24,8 @@ config RTLLIB_CRYPTO_CCMP
23config RTLLIB_CRYPTO_TKIP 24config RTLLIB_CRYPTO_TKIP
24 tristate "Support for rtllib TKIP crypto" 25 tristate "Support for rtllib TKIP crypto"
25 depends on RTLLIB 26 depends on RTLLIB
27 select CRYPTO_ARC4
28 select CRYPTO_MICHAEL_MIC
26 default y 29 default y
27 ---help--- 30 ---help---
28 TKIP crypto driver for rtllib. 31 TKIP crypto driver for rtllib.
@@ -31,6 +34,7 @@ config RTLLIB_CRYPTO_TKIP
31 34
32config RTLLIB_CRYPTO_WEP 35config RTLLIB_CRYPTO_WEP
33 tristate "Support for rtllib WEP crypto" 36 tristate "Support for rtllib WEP crypto"
37 select CRYPTO_ARC4
34 depends on RTLLIB 38 depends on RTLLIB
35 default y 39 default y
36 ---help--- 40 ---help---