Still open the network interface when EFI_OPEN_PROTOCOL_EXCLUSIVE failed.
Not all UEFI implementations support this protocol.
This commit is contained in:
parent
817dd2573e
commit
1485c016ba
@ -309,8 +309,8 @@ efinet_dev_init()
|
||||
status = BS->OpenProtocol(h, &sn_guid, (void **)&net,
|
||||
IH, 0, EFI_OPEN_PROTOCOL_EXCLUSIVE);
|
||||
if (status != EFI_SUCCESS) {
|
||||
printf("Unable to open network interface %d\n", i);
|
||||
continue;
|
||||
printf("Unable to open network interface %d for "
|
||||
"exclusive access\n", i);
|
||||
}
|
||||
|
||||
dif->dif_unit = i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user