Commit 01ffc0a7 authored by David Woodhouse's avatar David Woodhouse Committed by David S. Miller

8139cp: re-enable interrupts after tx timeout

Recovery doesn't work too well if we leave interrupts disabled...
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
Acked-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 871f0d4c
...@@ -1219,6 +1219,7 @@ static void cp_tx_timeout(struct net_device *dev) ...@@ -1219,6 +1219,7 @@ static void cp_tx_timeout(struct net_device *dev)
cp_clean_rings(cp); cp_clean_rings(cp);
rc = cp_init_rings(cp); rc = cp_init_rings(cp);
cp_start_hw(cp); cp_start_hw(cp);
cp_enable_irq(cp);
netif_wake_queue(dev); netif_wake_queue(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment