Minor fix in 2.6.19 forcedeth driver.

This commit is contained in:
Florian Pose 2007-02-22 10:15:02 +00:00
parent d7a058508a
commit 42e45a67ed
1 changed files with 5 additions and 5 deletions

View File

@ -4273,12 +4273,12 @@ static int nv_close(struct net_device *dev)
nv_txrx_reset(dev);
/* disable interrupts on the nic or we will lock up */
base = get_hwbase(dev);
if (!np->ecdev) nv_disable_hw_interrupts(dev, np->irqmask);
pci_push(base);
dprintk(KERN_INFO "%s: Irqmask is zero again\n", dev->name);
if (!np->ecdev) {
base = get_hwbase(dev);
nv_disable_hw_interrupts(dev, np->irqmask);
pci_push(base);
dprintk(KERN_INFO "%s: Irqmask is zero again\n", dev->name);
spin_unlock_irq(&np->lock);
nv_free_irq(dev);