提交 39bf4295 编写于 作者: F Francois Romieu 提交者: Romieu Francois

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: NFrancois Romieu <romieu@fr.zoreil.com>
上级 3f735b76
......@@ -1453,6 +1453,8 @@ static void de_tx_timeout (struct net_device *dev)
synchronize_irq(dev->irq);
de_clean_rings(de);
de_init_rings(de);
de_init_hw(de);
netif_wake_queue(dev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册