]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8fd4420f76b9aeb9900ba2fb3780e801e5c0fbd0
treefa70270fd9df3d1189dc43ffda921fcbb9a79360
parent38a2d9142b18d86aaba9bbe9a7311dcd3de9ab53
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