mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: mac: fix register configuration in mt7603_rx_dma_busy()
Signed-off-by: Lorenzo Bianconi <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
cb83f3329f
commit
21f20b46e3
+2
-2
@@ -1178,9 +1178,9 @@ static bool mt7603_rx_dma_busy(struct mt7603_dev *dev)
|
||||
if (!(mt76_rr(dev, MT_WPDMA_GLO_CFG) & MT_WPDMA_GLO_CFG_RX_DMA_BUSY))
|
||||
return false;
|
||||
|
||||
mt76_wr(dev, 0x4244, 0x98000000);
|
||||
mt76_wr(dev, 0x4244, 0x28000000);
|
||||
val = mt76_rr(dev, 0x4244);
|
||||
return !!(val & BIT(9));
|
||||
return !!(val & BIT(8));
|
||||
}
|
||||
|
||||
static bool mt7603_tx_dma_busy(struct mt7603_dev *dev)
|
||||
|
||||
Reference in New Issue
Block a user