aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/rt2x00/rt2400pci.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt2500pci.c2
-rw-r--r--drivers/net/wireless/rt2x00/rt2500usb.c3
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.c3
-rw-r--r--drivers/net/wireless/rt2x00/rt73usb.c3
5 files changed, 8 insertions, 5 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c
index c9a234fc3cd1..9eed9e90fc0c 100644
--- a/drivers/net/wireless/rt2x00/rt2400pci.c
+++ b/drivers/net/wireless/rt2x00/rt2400pci.c
@@ -280,7 +280,7 @@ static void rt2400pci_config_type(struct rt2x00_dev *rt2x00dev, const int type,
280 */ 280 */
281 rt2x00pci_register_read(rt2x00dev, CSR14, &reg); 281 rt2x00pci_register_read(rt2x00dev, CSR14, &reg);
282 rt2x00_set_field32(&reg, CSR14_TSF_COUNT, 1); 282 rt2x00_set_field32(&reg, CSR14_TSF_COUNT, 1);
283 rt2x00_set_field32(&reg, CSR14_TBCN, 1); 283 rt2x00_set_field32(&reg, CSR14_TBCN, (tsf_sync == TSF_SYNC_BEACON));
284 rt2x00_set_field32(&reg, CSR14_BEACON_GEN, 0); 284 rt2x00_set_field32(&reg, CSR14_BEACON_GEN, 0);
285 rt2x00_set_field32(&reg, CSR14_TSF_SYNC, tsf_sync); 285 rt2x00_set_field32(&reg, CSR14_TSF_SYNC, tsf_sync);
286 rt2x00pci_register_write(rt2x00dev, CSR14, reg); 286 rt2x00pci_register_write(rt2x00dev, CSR14, reg);
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c
index a6234547261e..8b2f54b2e631 100644
--- a/drivers/net/wireless/rt2x00/rt2500pci.c
+++ b/drivers/net/wireless/rt2x00/rt2500pci.c
@@ -284,7 +284,7 @@ static void rt2500pci_config_type(struct rt2x00_dev *rt2x00dev, const int type,
284 */ 284 */
285 rt2x00pci_register_read(rt2x00dev, CSR14, &reg); 285 rt2x00pci_register_read(rt2x00dev, CSR14, &reg);
286 rt2x00_set_field32(&reg, CSR14_TSF_COUNT, 1); 286 rt2x00_set_field32(&reg, CSR14_TSF_COUNT, 1);
287 rt2x00_set_field32(&reg, CSR14_TBCN, 1); 287 rt2x00_set_field32(&reg, CSR14_TBCN, (tsf_sync == TSF_SYNC_BEACON));
288 rt2x00_set_field32(&reg, CSR14_BEACON_GEN, 0); 288 rt2x00_set_field32(&reg, CSR14_BEACON_GEN, 0);
289 rt2x00_set_field32(&reg, CSR14_TSF_SYNC, tsf_sync); 289 rt2x00_set_field32(&reg, CSR14_TSF_SYNC, tsf_sync);
290 rt2x00pci_register_write(rt2x00dev, CSR14, reg); 290 rt2x00pci_register_write(rt2x00dev, CSR14, reg);
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c
index 2a38388a79e1..531d6a02755a 100644
--- a/drivers/net/wireless/rt2x00/rt2500usb.c
+++ b/drivers/net/wireless/rt2x00/rt2500usb.c
@@ -327,7 +327,8 @@ static void rt2500usb_config_type(struct rt2x00_dev *rt2x00dev, const int type,
327 327
328 rt2500usb_register_read(rt2x00dev, TXRX_CSR19, &reg); 328 rt2500usb_register_read(rt2x00dev, TXRX_CSR19, &reg);
329 rt2x00_set_field16(&reg, TXRX_CSR19_TSF_COUNT, 1); 329 rt2x00_set_field16(&reg, TXRX_CSR19_TSF_COUNT, 1);
330 rt2x00_set_field16(&reg, TXRX_CSR19_TBCN, 1); 330 rt2x00_set_field16(&reg, TXRX_CSR19_TBCN,
331 (tsf_sync == TSF_SYNC_BEACON));
331 rt2x00_set_field16(&reg, TXRX_CSR19_BEACON_GEN, 0); 332 rt2x00_set_field16(&reg, TXRX_CSR19_BEACON_GEN, 0);
332 rt2x00_set_field16(&reg, TXRX_CSR19_TSF_SYNC, tsf_sync); 333 rt2x00_set_field16(&reg, TXRX_CSR19_TSF_SYNC, tsf_sync);
333 rt2500usb_register_write(rt2x00dev, TXRX_CSR19, reg); 334 rt2500usb_register_write(rt2x00dev, TXRX_CSR19, reg);
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c
index 0693b3920e68..1bbeed66c524 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.c
+++ b/drivers/net/wireless/rt2x00/rt61pci.c
@@ -317,7 +317,8 @@ static void rt61pci_config_type(struct rt2x00_dev *rt2x00dev, const int type,
317 */ 317 */
318 rt2x00pci_register_read(rt2x00dev, TXRX_CSR9, &reg); 318 rt2x00pci_register_read(rt2x00dev, TXRX_CSR9, &reg);
319 rt2x00_set_field32(&reg, TXRX_CSR9_TSF_TICKING, 1); 319 rt2x00_set_field32(&reg, TXRX_CSR9_TSF_TICKING, 1);
320 rt2x00_set_field32(&reg, TXRX_CSR9_TBTT_ENABLE, 1); 320 rt2x00_set_field32(&reg, TXRX_CSR9_TBTT_ENABLE,
321 (tsf_sync == TSF_SYNC_BEACON));
321 rt2x00_set_field32(&reg, TXRX_CSR9_BEACON_GEN, 0); 322 rt2x00_set_field32(&reg, TXRX_CSR9_BEACON_GEN, 0);
322 rt2x00_set_field32(&reg, TXRX_CSR9_TSF_SYNC, tsf_sync); 323 rt2x00_set_field32(&reg, TXRX_CSR9_TSF_SYNC, tsf_sync);
323 rt2x00pci_register_write(rt2x00dev, TXRX_CSR9, reg); 324 rt2x00pci_register_write(rt2x00dev, TXRX_CSR9, reg);
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c
index 8093a4d49335..939341582e72 100644
--- a/drivers/net/wireless/rt2x00/rt73usb.c
+++ b/drivers/net/wireless/rt2x00/rt73usb.c
@@ -327,7 +327,8 @@ static void rt73usb_config_type(struct rt2x00_dev *rt2x00dev, const int type,
327 */ 327 */
328 rt73usb_register_read(rt2x00dev, TXRX_CSR9, &reg); 328 rt73usb_register_read(rt2x00dev, TXRX_CSR9, &reg);
329 rt2x00_set_field32(&reg, TXRX_CSR9_TSF_TICKING, 1); 329 rt2x00_set_field32(&reg, TXRX_CSR9_TSF_TICKING, 1);
330 rt2x00_set_field32(&reg, TXRX_CSR9_TBTT_ENABLE, 1); 330 rt2x00_set_field32(&reg, TXRX_CSR9_TBTT_ENABLE,
331 (tsf_sync == TSF_SYNC_BEACON));
331 rt2x00_set_field32(&reg, TXRX_CSR9_BEACON_GEN, 0); 332 rt2x00_set_field32(&reg, TXRX_CSR9_BEACON_GEN, 0);
332 rt2x00_set_field32(&reg, TXRX_CSR9_TSF_SYNC, tsf_sync); 333 rt2x00_set_field32(&reg, TXRX_CSR9_TSF_SYNC, tsf_sync);
333 rt73usb_register_write(rt2x00dev, TXRX_CSR9, reg); 334 rt73usb_register_write(rt2x00dev, TXRX_CSR9, reg);