[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:03:31 +01:00
parent 3950d1d8e6
commit 97ef28aea0
20 changed files with 50 additions and 54 deletions
-1
View File
@@ -1249,7 +1249,6 @@ jme_probe(struct pci_device *pci, const struct pci_device_id *id __unused)
* Bring down phy before interface is opened.
*/
jme_phy_off(jme);
netdev_link_down(netdev);
/*
* Reset MAC processor and reload EEPROM for MAC Address