mirror of https://github.com/ipxe/ipxe.git
[tlan] Guard against failure to identify chip
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/58/merge
parent
dea5b74475
commit
ad725fa7d9
|
@ -808,6 +808,8 @@ static int tlan_probe ( struct nic *nic, struct pci_device *pci ) {
|
|||
}
|
||||
i++;
|
||||
}
|
||||
if (chip_idx == -1)
|
||||
return 0;
|
||||
|
||||
priv->vendor_id = pci->vendor;
|
||||
priv->dev_id = pci->device;
|
||||
|
|
Loading…
Reference in New Issue