diff options
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500pci.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index e2bb63496dbc..a92626bc536a 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -669,7 +669,7 @@ static int rt2400pci_init_queues(struct rt2x00_dev *rt2x00dev) | |||
669 | 669 | ||
670 | priv_rx = rt2x00dev->rx->entries[0].priv_data; | 670 | priv_rx = rt2x00dev->rx->entries[0].priv_data; |
671 | rt2x00pci_register_read(rt2x00dev, RXCSR2, ®); | 671 | rt2x00pci_register_read(rt2x00dev, RXCSR2, ®); |
672 | rt2x00_set_field32(®, RXCSR2_RX_RING_REGISTER, priv_tx->desc_dma); | 672 | rt2x00_set_field32(®, RXCSR2_RX_RING_REGISTER, priv_rx->desc_dma); |
673 | rt2x00pci_register_write(rt2x00dev, RXCSR2, reg); | 673 | rt2x00pci_register_write(rt2x00dev, RXCSR2, reg); |
674 | 674 | ||
675 | return 0; | 675 | return 0; |
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c index 4e312cb0ff0b..4ae09b418704 100644 --- a/drivers/net/wireless/rt2x00/rt2500pci.c +++ b/drivers/net/wireless/rt2x00/rt2500pci.c | |||
@@ -751,7 +751,7 @@ static int rt2500pci_init_queues(struct rt2x00_dev *rt2x00dev) | |||
751 | 751 | ||
752 | priv_rx = rt2x00dev->rx->entries[0].priv_data; | 752 | priv_rx = rt2x00dev->rx->entries[0].priv_data; |
753 | rt2x00pci_register_read(rt2x00dev, RXCSR2, ®); | 753 | rt2x00pci_register_read(rt2x00dev, RXCSR2, ®); |
754 | rt2x00_set_field32(®, RXCSR2_RX_RING_REGISTER, priv_tx->desc_dma); | 754 | rt2x00_set_field32(®, RXCSR2_RX_RING_REGISTER, priv_rx->desc_dma); |
755 | rt2x00pci_register_write(rt2x00dev, RXCSR2, reg); | 755 | rt2x00pci_register_write(rt2x00dev, RXCSR2, reg); |
756 | 756 | ||
757 | return 0; | 757 | return 0; |