summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2012-11-24 12:11:21 +0000
committerDavid S. Miller <davem@davemloft.net>2012-11-25 15:56:31 -0500
commit01ffc0a7f1c1801a2354719dedbc32aff45b987d (patch)
tree99ffdd565e608b46398334805b983ae513203924 /drivers
parent871f0d4c153e1258d4becf306eca6761bf38b629 (diff)
downloadlinux-01ffc0a7f1c1801a2354719dedbc32aff45b987d.tar.gz
linux-01ffc0a7f1c1801a2354719dedbc32aff45b987d.tar.bz2
linux-01ffc0a7f1c1801a2354719dedbc32aff45b987d.zip
8139cp: re-enable interrupts after tx timeout
Recovery doesn't work too well if we leave interrupts disabled... Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Acked-by: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/realtek/8139cp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/realtek/8139cp.c b/drivers/net/ethernet/realtek/8139cp.c
index 3de318d557f0..6cb96b4afdf5 100644
--- a/drivers/net/ethernet/realtek/8139cp.c
+++ b/drivers/net/ethernet/realtek/8139cp.c
@@ -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);