Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Larry Finger and committed by
Greg Kroah-Hartman
e0e3dadd 6b56d245

+4
+4
drivers/staging/rtl8192e/Kconfig
··· 14 14 config RTLLIB_CRYPTO_CCMP 15 15 tristate "Support for rtllib CCMP crypto" 16 16 depends on RTLLIB 17 + select CRYPTO_AES 17 18 default y 18 19 ---help--- 19 20 CCMP crypto driver for rtllib. ··· 24 23 config RTLLIB_CRYPTO_TKIP 25 24 tristate "Support for rtllib TKIP crypto" 26 25 depends on RTLLIB 26 + select CRYPTO_ARC4 27 + select CRYPTO_MICHAEL_MIC 27 28 default y 28 29 ---help--- 29 30 TKIP crypto driver for rtllib. ··· 34 31 35 32 config RTLLIB_CRYPTO_WEP 36 33 tristate "Support for rtllib WEP crypto" 34 + select CRYPTO_ARC4 37 35 depends on RTLLIB 38 36 default y 39 37 ---help---