Subject: Don't force select AES in wireless
From: ak@suse.de
Patch-mainline: Not yet

x86 kernels use always the assembler optimized versions of AES and TWOFISH.
But the wireless stack would force enable the generic C aes anyways.
Remove that. The optimized versions provide the cipher as well.

---
 drivers/net/wireless/Kconfig |    1 -
 net/mac80211/Kconfig         |    1 -
 2 files changed, 2 deletions(-)

--- a/drivers/net/wireless/Kconfig
+++ b/drivers/net/wireless/Kconfig
@@ -121,7 +121,6 @@ config AIRO_CS
 	select WEXT_SPY
 	select WEXT_PRIV
 	select CRYPTO
-	select CRYPTO_AES
 	---help---
 	  This is the standard Linux driver to support Cisco/Aironet PCMCIA
 	  802.11 wireless cards.  This driver is the same as the Aironet
--- a/net/mac80211/Kconfig
+++ b/net/mac80211/Kconfig
@@ -4,7 +4,6 @@ config MAC80211
 	select CRYPTO
 	select CRYPTO_ECB
 	select CRYPTO_ARC4
-	select CRYPTO_AES
 	select CRC32
	select AVERAGE
 	---help---
