[netdevice] Call netdev_link_[up|down|err]() only while registered

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2010-09-05 02:51:46 +01:00
parent 3950d1d8e6
commit 97ef28aea0
20 changed files with 50 additions and 54 deletions
-1
View File
@@ -1143,7 +1143,6 @@ static int sis190_probe(struct pci_device *pdev,
sis190_set_speed_auto(dev);
sis190_phy_task(tp);
netdev_link_down(dev);
out:
return rc;