Commit d99b5ac6 authored by Devendra Naga's avatar Devendra Naga Committed by Greg Kroah-Hartman

staging/slicoss: disable pci device at remove

at probe we enabled the device, and we should disable it at remove.
Signed-off-by: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d44858a9
......@@ -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)
......
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