提交 01ffc0a7 编写于 作者: D David Woodhouse 提交者: David S. Miller

8139cp: re-enable interrupts after tx timeout

Recovery doesn't work too well if we leave interrupts disabled...
Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
Acked-by: NFrancois Romieu <romieu@fr.zoreil.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 871f0d4c
......@@ -1219,6 +1219,7 @@ static void cp_tx_timeout(struct net_device *dev)
cp_clean_rings(cp);
rc = cp_init_rings(cp);
cp_start_hw(cp);
cp_enable_irq(cp);
netif_wake_queue(dev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册