Skip to content

Commit

Permalink
staging/slicoss: disable pci device at remove
Browse files Browse the repository at this point in the history
at probe we enabled the device, and we should disable it at remove.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Jul 12, 2012
1 parent d44858a commit d99b5ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/staging/slicoss/slicoss.c
Original file line number Diff line number Diff line change
Expand Up @@ -3234,6 +3234,7 @@ static void __devexit slic_entry_remove(struct pci_dev *pcidev)
}
free_netdev(dev);
pci_release_regions(pcidev);
pci_disable_device(pcidev);
}

static int slic_entry_halt(struct net_device *dev)
Expand Down

0 comments on commit d99b5ac

Please sign in to comment.