mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 16:58:53 +00:00
de2104x: fix the TX watchdog
Insert de_init_rings() to reinit the rings before de_init_hw() tries to access them again. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
This commit is contained in:
parent
3f735b76a4
commit
39bf4295bb
@ -1453,6 +1453,8 @@ static void de_tx_timeout (struct net_device *dev)
|
|||||||
synchronize_irq(dev->irq);
|
synchronize_irq(dev->irq);
|
||||||
de_clean_rings(de);
|
de_clean_rings(de);
|
||||||
|
|
||||||
|
de_init_rings(de);
|
||||||
|
|
||||||
de_init_hw(de);
|
de_init_hw(de);
|
||||||
|
|
||||||
netif_wake_queue(dev);
|
netif_wake_queue(dev);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user