Skip to content

Commit

Permalink
staging: r8192e: Fix possible error in configuration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Larry Finger authored and Greg Kroah-Hartman committed Apr 18, 2012
1 parent 6b56d24 commit e0e3dad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/staging/rtl8192e/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ if RTLLIB
config RTLLIB_CRYPTO_CCMP
tristate "Support for rtllib CCMP crypto"
depends on RTLLIB
select CRYPTO_AES
default y
---help---
CCMP crypto driver for rtllib.
Expand All @@ -23,6 +24,8 @@ config RTLLIB_CRYPTO_CCMP
config RTLLIB_CRYPTO_TKIP
tristate "Support for rtllib TKIP crypto"
depends on RTLLIB
select CRYPTO_ARC4
select CRYPTO_MICHAEL_MIC
default y
---help---
TKIP crypto driver for rtllib.
Expand All @@ -31,6 +34,7 @@ config RTLLIB_CRYPTO_TKIP

config RTLLIB_CRYPTO_WEP
tristate "Support for rtllib WEP crypto"
select CRYPTO_ARC4
depends on RTLLIB
default y
---help---
Expand Down

0 comments on commit e0e3dad

Please sign in to comment.