diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-03-09 21:47:43 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-13 23:31:41 (GMT) |
commit | fd3c91c5e57eef8db71cf52e2473832c330bf5db (patch) | |
tree | ed1db81a356d81cbfbf19811856b34ad9f04fdba /drivers/net/wireless/rt2x00/rt2500usb.c | |
parent | 72fa559bf44aab30ac5fc8317472ef3441f4aa64 (diff) | |
download | linux-fd3c91c5e57eef8db71cf52e2473832c330bf5db.tar.xz |
rt2x00: Always enable TSF ticking
Whatever mode we are in, according to the legacy drivers
we should always enable TSF ticking/counting.
We should also always enable the TBCN/TBTT field,
this field is only disabled during beacon regeneration.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500usb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c index 43da93a..8dfebfd 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.c +++ b/drivers/net/wireless/rt2x00/rt2500usb.c @@ -343,7 +343,9 @@ static void rt2500usb_config_intf(struct rt2x00_dev *rt2x00dev, rt2500usb_register_write(rt2x00dev, TXRX_CSR18, reg); rt2500usb_register_read(rt2x00dev, TXRX_CSR19, ®); + rt2x00_set_field16(®, TXRX_CSR19_TSF_COUNT, 1); rt2x00_set_field16(®, TXRX_CSR19_TSF_SYNC, conf->sync); + rt2x00_set_field16(®, TXRX_CSR19_TBCN, 1); rt2500usb_register_write(rt2x00dev, TXRX_CSR19, reg); } |