]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: fix beacon reset on rt2800
authorHelmut Schaa <helmut.schaa@googlemail.com>
Tue, 29 Jun 2010 19:48:06 +0000 (21:48 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Jun 2010 19:00:52 +0000 (15:00 -0400)
commit3485dbbc861188ac41f2c055065af6810dd5b862
tree5b2a4cb9403004bfc9e57e618fefceb7938a8621
parent76326951a39bdc8a6a09a3039b7411314c068fd3
rt2x00: fix beacon reset on rt2800

When an interface is removed the according beacon entry should be reset.
The current approach to only clear the first word is not enough to stop
the device from sending out the beacon, hence resulting in beacons being
sent out for already removed interfaces.

Fix this by invalidating the entire TXWI in front of the beacon instead
of only the first word.

Also clear all beacons during startup in the same way.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c