mt7603: fix DMA watchdog check

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2016-02-28 11:14:09 +01:00
parent f2add7b2f0
commit 779c94e37d
+1 -1
View File
@@ -1010,7 +1010,7 @@ static bool mt7603_tx_dma_busy(struct mt7603_dev *dev)
if (!(mt76_rr(dev, MT_WPDMA_GLO_CFG) & MT_WPDMA_GLO_CFG_TX_DMA_BUSY))
return false;
mt76_wr(dev, 0x4244, 0x98000000);
mt76_wr(dev, 0x4244, 0x28000000);
return mt76_rr(dev, 0x4244) & BIT(8);
}