aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2400pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2400pci.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c
index ee953ca0c6a3..91cbd9e560bd 100644
--- a/drivers/net/wireless/rt2x00/rt2400pci.c
+++ b/drivers/net/wireless/rt2x00/rt2400pci.c
@@ -733,6 +733,17 @@ static int rt2400pci_init_registers(struct rt2x00_dev *rt2x00dev)
733 (rt2x00dev->rx->data_size / 128)); 733 (rt2x00dev->rx->data_size / 128));
734 rt2x00pci_register_write(rt2x00dev, CSR9, reg); 734 rt2x00pci_register_write(rt2x00dev, CSR9, reg);
735 735
736 rt2x00pci_register_read(rt2x00dev, CSR14, &reg);
737 rt2x00_set_field32(&reg, CSR14_TSF_COUNT, 0);
738 rt2x00_set_field32(&reg, CSR14_TSF_SYNC, 0);
739 rt2x00_set_field32(&reg, CSR14_TBCN, 0);
740 rt2x00_set_field32(&reg, CSR14_TCFP, 0);
741 rt2x00_set_field32(&reg, CSR14_TATIMW, 0);
742 rt2x00_set_field32(&reg, CSR14_BEACON_GEN, 0);
743 rt2x00_set_field32(&reg, CSR14_CFP_COUNT_PRELOAD, 0);
744 rt2x00_set_field32(&reg, CSR14_TBCM_PRELOAD, 0);
745 rt2x00pci_register_write(rt2x00dev, CSR14, reg);
746
736 rt2x00pci_register_write(rt2x00dev, CNT3, 0x3f080000); 747 rt2x00pci_register_write(rt2x00dev, CNT3, 0x3f080000);
737 748
738 rt2x00pci_register_read(rt2x00dev, ARCSR0, &reg); 749 rt2x00pci_register_read(rt2x00dev, ARCSR0, &reg);