Commit 018713f5 authored by Daniele Venzano's avatar Daniele Venzano Committed by Jeff Garzik

[netdrvr sis900] fix missing netif_device_detach in suspend

parent a9f5e347
...@@ -2199,6 +2199,7 @@ static int sis900_suspend(struct pci_dev *pci_dev, u32 state) ...@@ -2199,6 +2199,7 @@ static int sis900_suspend(struct pci_dev *pci_dev, u32 state)
return 0; return 0;
netif_stop_queue(net_dev); netif_stop_queue(net_dev);
netif_device_detach(net_dev);
/* Stop the chip's Tx and Rx Status Machine */ /* Stop the chip's Tx and Rx Status Machine */
outl(RxDIS | TxDIS | inl(ioaddr + cr), ioaddr + cr); outl(RxDIS | TxDIS | inl(ioaddr + cr), ioaddr + cr);
......
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