rt2500usb: truly disable encryption when initialize
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 27 Jul 2010 14:48:17 +0000 (10:48 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Jul 2010 18:59:59 +0000 (14:59 -0400)
commitac59b496d9fd0b7425219e8dc5d4f1f6f0083efc
treefa70270fd9df3d1189dc43ffda921fcbb9a79360
parent1279f5edb6d25f2a955696fdec1ac96ca5bcb121
rt2500usb: truly disable encryption when initialize

Without cipher part nullify of TXRX_CSR0 register we can receive
corrupted frames (removed IV or IVC), after reloading rt2500usb module
with nohwcrypt=1 option, if previous some keys were configured into
the hardware.

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