Fix rt2500usb HW crypto: TKIP
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 21 Dec 2008 22:19:17 +0000 (23:19 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jan 2009 19:24:54 +0000 (14:24 -0500)
commitf3d340c1d536fd3e5a104c99ac9c3f8694270d72
treecc0750003a75ca72dfd5b40bbbdfd375dc79eff1
parentb55eae3349ff5d6d088c7ab0151260d5e3dbd26d
Fix rt2500usb HW crypto: TKIP

rt2500usb doesn't strip the IV/ICV data from received frames,
so we don't need to set the RX_FLAG_IV_STRIPPED flag.
We do need to set the RX_FLAG_MMIC_STRIPPED flag for all
encryption types since the MMIC has been removed from the frame.

After this patch TKIP Hardware crypto works for rt2500usb.
WEP and AES are still failing.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2500usb.c