[PATCH hostap] fix Kconfig typos and missing select CRYPTO (was:2.6.10-rc2-mm4)

From: Joshua Kwan
Date: Fri Dec 03 2004 - 04:10:42 EST


Andrew Morton wrote:
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.10-rc2/2.6.10-rc2-mm4/

CC [M] drivers/net/wireless/hostap/hostap_crypt_wep.o
drivers/net/wireless/hostap/hostap_crypt_wep.c:24:2: #error CONFIG_CRYPTO is required to build this module.
make[4]: *** [drivers/net/wireless/hostap/hostap_crypt_wep.o] Error 1
make[3]: *** [drivers/net/wireless/hostap] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

Here's a patchlet that fixes some Kconfig typos and adds missing select CRYPTO for each hostap_crypt_* option.

Signed-off-by: Joshua Kwan <joshk@xxxxxxxxxxxxxxx>

--
Joshua Kwan
--- linux-2.6.9/drivers/net/wireless/hostap/Kconfig~ 2004-12-03 00:58:27.000000000 -0800
+++ linux-2.6.9/drivers/net/wireless/hostap/Kconfig 2004-12-03 00:59:01.000000000 -0800
@@ -25,29 +25,32 @@
config HOSTAP_WEP
tristate "IEEE 802.11 WEP encryption"
depends on HOSTAP
+ select CRYPTO
---help---
Software implementation of IEEE 802.11 WEP encryption.

This can be compiled as a modules and it will be called
- "hostap_cryp_wep.ko".
+ "hostap_crypt_wep.ko".

config HOSTAP_TKIP
tristate "IEEE 802.11 TKIP encryption"
depends on HOSTAP
+ select CRYPTO
---help---
Software implementation of IEEE 802.11 TKIP encryption.

This can be compiled as a modules and it will be called
- "hostap_cryp_tkip.ko".
+ "hostap_crypt_tkip.ko".

config HOSTAP_CCMP
tristate "IEEE 802.11 CCMP encryption"
depends on HOSTAP
+ select CRYPTO
---help---
Software implementation of IEEE 802.11 CCMP encryption.

This can be compiled as a modules and it will be called
- "hostap_cryp_ccmp.ko".
+ "hostap_crypt_ccmp.ko".

config HOSTAP_FIRMWARE
bool "Support downloading firmware images with Host AP driver"