mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: print a warning on MAC reset
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -1024,7 +1024,7 @@ void mt7603_mac_work(struct work_struct *work)
|
||||
if (mt7603_tx_dma_busy(dev)) {
|
||||
time = MT7603_WATCHDOG_TIME / 10;
|
||||
|
||||
if (++dev->tx_check == 10) {
|
||||
if (WARN_ON_ONCE(++dev->tx_check == 10)) {
|
||||
mt7603_mac_reset(dev);
|
||||
goto out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user