rt2x00: Use correct TBTT_SYNC config in AP mode
authorHelmut Schaa <helmut.schaa@googlemail.com>
Mon, 18 Apr 2011 13:28:04 +0000 (15:28 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Apr 2011 19:39:19 +0000 (15:39 -0400)
commit15a533c47f9ebb8dec8e440275136cbf9c493a1f
treeffa8be5e0b67f2ce0ca128bd55630bb297361a27
parent10e11568ca8b8a15f7478f6a4ceebabcbdba1018
rt2x00: Use correct TBTT_SYNC config in AP mode

This seems to fix problems with some powersaving clients since a
positive value in TBTT_SYNC_CFG_TBTT_ADJUST introduces beacon skew,
which is not wanted in AP mode.

Also update the rest of the TBTT_SYNC config according to the
legacy drivers in AP mode.

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