rt2800: zero MAC_SYS_CTRL bits during BBP and MAC reset
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 24 Jan 2012 13:09:08 +0000 (14:09 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Jan 2012 19:57:00 +0000 (14:57 -0500)
commit2a48e8ae113be506a7169d50c0b8fcb3ab0c462a
tree48543b39418aa0957a5eaa51e3e24b85a5a5dd52
parent4ed1dd2a7ec880b301beb61cbc1e08811ec340e4
rt2800: zero MAC_SYS_CTRL bits during BBP and MAC reset

Zero all other bits than RESET_CSR and RESET_BBP when want to do the
reset, that the vendor driver behaviour.

Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800pci.c
drivers/net/wireless/rt2x00/rt2800usb.c