aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2800lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800lib.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c
index 621dac18ca6c..e94f1e13fea9 100644
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
@@ -561,7 +561,8 @@ void rt2800_config_intf(struct rt2x00_dev *rt2x00dev, struct rt2x00_intf *intf,
561 rt2800_register_read(rt2x00dev, BCN_TIME_CFG, &reg); 561 rt2800_register_read(rt2x00dev, BCN_TIME_CFG, &reg);
562 rt2x00_set_field32(&reg, BCN_TIME_CFG_TSF_TICKING, 1); 562 rt2x00_set_field32(&reg, BCN_TIME_CFG_TSF_TICKING, 1);
563 rt2x00_set_field32(&reg, BCN_TIME_CFG_TSF_SYNC, conf->sync); 563 rt2x00_set_field32(&reg, BCN_TIME_CFG_TSF_SYNC, conf->sync);
564 rt2x00_set_field32(&reg, BCN_TIME_CFG_TBTT_ENABLE, 1); 564 rt2x00_set_field32(&reg, BCN_TIME_CFG_TBTT_ENABLE,
565 (conf->sync == TSF_SYNC_BEACON));
565 rt2800_register_write(rt2x00dev, BCN_TIME_CFG, reg); 566 rt2800_register_write(rt2x00dev, BCN_TIME_CFG, reg);
566 } 567 }
567 568