]> git.baikalelectronics.ru Git - kernel.git/commit
rt2500usb: fallback to SW encryption for TKIP+AES
authorOndrej Zary <linux@rainbow-software.org>
Wed, 23 Jun 2010 10:57:15 +0000 (12:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 24 Jun 2010 19:42:38 +0000 (15:42 -0400)
commitd50c19802da1a606728a3752d64d7e7759107d32
tree31cf4cf828c41d5958469b6d86658df81f06d495
parent53dca946eb6f78eaa2e998c4deb294968133a6b8
rt2500usb: fallback to SW encryption for TKIP+AES

HW crypto in rt2500usb does not seem to support keys with different ciphers,
which breaks TKIP+AES mode. Fall back to software encryption to fix it.

This should fix long-standing problems with rt2500usb and WPA, such as:
http://rt2x00.serialmonkey.com/phpBB/viewtopic.php?f=4&t=4834
https://bugzilla.redhat.com/show_bug.cgi?id=484888

Also tested that it does not break WEP, TKIP-only and AES-only modes.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2500usb.c