Use default UNDI information if NII protocol not exists.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8082 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -174,7 +174,7 @@ PxeBcDriverBindingStart (
|
||||
}
|
||||
|
||||
//
|
||||
// Get the NII interface
|
||||
// Get the NII interface if it exists.
|
||||
//
|
||||
Status = gBS->OpenProtocol (
|
||||
ControllerHandle,
|
||||
@@ -185,7 +185,7 @@ PxeBcDriverBindingStart (
|
||||
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
goto ON_ERROR;
|
||||
Private->Nii = NULL;
|
||||
}
|
||||
|
||||
Status = NetLibCreateServiceChild (
|
||||
|
Reference in New Issue
Block a user