mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: adjust rx hang watchdog for MT7628
The MT7628 vendor driver checks a different DMA debug register compared to MT7603. Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -1284,6 +1284,9 @@ static u32 mt7603_dma_debug(struct mt7603_dev *dev, u8 index)
|
||||
|
||||
static bool mt7603_rx_fifo_busy(struct mt7603_dev *dev)
|
||||
{
|
||||
if (is_mt7628(dev))
|
||||
return mt7603_dma_debug(dev, 9) & BIT(9);
|
||||
|
||||
return mt7603_dma_debug(dev, 2) & BIT(8);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user