diff options
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index 6e7cbe8f4e32..d10273b744e4 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -1504,10 +1504,8 @@ static void rt61pci_write_tx_desc(struct rt2x00_dev *rt2x00dev, | |||
1504 | rt2x00_desc_write(txd, 2, word); | 1504 | rt2x00_desc_write(txd, 2, word); |
1505 | 1505 | ||
1506 | rt2x00_desc_read(txd, 5, &word); | 1506 | rt2x00_desc_read(txd, 5, &word); |
1507 | /* XXX: removed for now | ||
1508 | rt2x00_set_field32(&word, TXD_W5_TX_POWER, | 1507 | rt2x00_set_field32(&word, TXD_W5_TX_POWER, |
1509 | TXPOWER_TO_DEV(control->power_level)); | 1508 | TXPOWER_TO_DEV(rt2x00dev->tx_power)); |
1510 | */ | ||
1511 | rt2x00_set_field32(&word, TXD_W5_WAITING_DMA_DONE_INT, 1); | 1509 | rt2x00_set_field32(&word, TXD_W5_WAITING_DMA_DONE_INT, 1); |
1512 | rt2x00_desc_write(txd, 5, word); | 1510 | rt2x00_desc_write(txd, 5, word); |
1513 | 1511 | ||
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c index 5f3f74c23463..badae9f18153 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.c +++ b/drivers/net/wireless/rt2x00/rt73usb.c | |||
@@ -1240,10 +1240,8 @@ static void rt73usb_write_tx_desc(struct rt2x00_dev *rt2x00dev, | |||
1240 | rt2x00_desc_write(txd, 2, word); | 1240 | rt2x00_desc_write(txd, 2, word); |
1241 | 1241 | ||
1242 | rt2x00_desc_read(txd, 5, &word); | 1242 | rt2x00_desc_read(txd, 5, &word); |
1243 | /* XXX: removed for now | ||
1244 | rt2x00_set_field32(&word, TXD_W5_TX_POWER, | 1243 | rt2x00_set_field32(&word, TXD_W5_TX_POWER, |
1245 | TXPOWER_TO_DEV(control->power_level)); | 1244 | TXPOWER_TO_DEV(rt2x00dev->tx_power)); |
1246 | */ | ||
1247 | rt2x00_set_field32(&word, TXD_W5_WAITING_DMA_DONE_INT, 1); | 1245 | rt2x00_set_field32(&word, TXD_W5_WAITING_DMA_DONE_INT, 1); |
1248 | rt2x00_desc_write(txd, 5, word); | 1246 | rt2x00_desc_write(txd, 5, word); |
1249 | 1247 | ||