]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
8139cp: re-enable interrupts after tx timeout
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 24 Nov 2012 12:11:21 +0000 (12:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Nov 2012 20:56:31 +0000 (15:56 -0500)
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>
drivers/net/ethernet/realtek/8139cp.c

index 3de318d557f0ab1a0402a6f6a70e8e36d7452cd8..6cb96b4afdf5a3798115778a02e961917d6cc82e 100644 (file)
@@ -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);