Update mtk_eth_soc.c

This commit is contained in:
padavanonly 2024-10-08 11:42:54 +08:00 committed by GitHub
parent 7864caa446
commit bcfc2f8404
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2514,8 +2514,7 @@ static void mtk_tx_timeout(struct net_device *dev)
netif_err(eth, tx_err, dev,
"transmit timed out\n");
if (atomic_read(&reset_lock) == 0)
schedule_work(&eth->pending_work);
}
static irqreturn_t mtk_handle_irq_rx(int irq, void *priv)