rt2x00: Disable synchronization during initialization
authorIvo van Doorn <ivdoorn@gmail.com>
Tue, 8 Jul 2008 11:45:20 +0000 (13:45 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Jul 2008 20:16:31 +0000 (16:16 -0400)
commit1f90916264049a7d9e6106fd60d289c9a775d24f
tree0f07970b1b3fb7365b0fb4acccbe2e1dc7b320e6
parentadeed48090fc370afa0db8d007748ee72a40b578
rt2x00: Disable synchronization during initialization

As soon as init_registers() was called, the rt2400/rt2500
would start raising beacondone interrupts. Since this is highly
premature since no beacons were provided yet, we should
initialize the synchronization register to 0.

This will make all drivers initialize it to 0 regardless
if they are raising beacondone interrupts or not, since it only
makes sense to have it completely disabled.

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