mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: issue PSE reset if firmware debug register indicates stuck queues
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -1410,6 +1410,9 @@ static bool mt7603_rx_pse_busy(struct mt7603_dev *dev)
|
||||
{
|
||||
u32 addr, val;
|
||||
|
||||
if (mt76_rr(dev, MT_MCU_DEBUG_RESET) & MT_MCU_DEBUG_RESET_QUEUES)
|
||||
return true;
|
||||
|
||||
if (mt7603_rx_fifo_busy(dev))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user