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:
vanjeff
2009-04-14 08:52:06 +00:00
parent 05c7cb5d8e
commit 169a34619b
5 changed files with 30 additions and 14 deletions

View File

@@ -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 (