diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index 4b3845152e1f..1eff6ec88457 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -1039,6 +1039,11 @@ static void rt2400pci_write_tx_desc(struct rt2x00_dev *rt2x00dev, | |||
1039 | rt2x00_set_field32(&word, TXD_W3_PLCP_LENGTH_HIGH_BUSY, 1); | 1039 | rt2x00_set_field32(&word, TXD_W3_PLCP_LENGTH_HIGH_BUSY, 1); |
1040 | rt2x00_desc_write(txd, 4, word); | 1040 | rt2x00_desc_write(txd, 4, word); |
1041 | 1041 | ||
1042 | /* | ||
1043 | * Writing TXD word 0 must the last to prevent a race condition with | ||
1044 | * the device, whereby the device may take hold of the TXD before we | ||
1045 | * finished updating it. | ||
1046 | */ | ||
1042 | rt2x00_desc_read(txd, 0, &word); | 1047 | rt2x00_desc_read(txd, 0, &word); |
1043 | rt2x00_set_field32(&word, TXD_W0_OWNER_NIC, 1); | 1048 | rt2x00_set_field32(&word, TXD_W0_OWNER_NIC, 1); |
1044 | rt2x00_set_field32(&word, TXD_W0_VALID, 1); | 1049 | rt2x00_set_field32(&word, TXD_W0_VALID, 1); |