summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-01-11 07:22:12 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-01-11 07:22:12 +0000
commit51dc1f659f280fefefc960377dc79490c03d3f5e (patch)
treed648cf1725a259e053016eadf1d859eb9f7d26dc /MdeModulePkg
parentab5f0d6d1271a293979af569a269792c491d0893 (diff)
downloadedk2-platforms-51dc1f659f280fefefc960377dc79490c03d3f5e.tar.xz
Fixed one bug in UefiPxeBc start()/stop(). That would cause stop() failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4553 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDriver.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDriver.c b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDriver.c
index 546e6aee81..b947340abc 100644
--- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDriver.c
+++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDriver.c
@@ -1,6 +1,6 @@
/** @file
-Copyright (c) 2007, Intel Corporation
+Copyright (c) 2007 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -285,7 +285,7 @@ ON_ERROR:
NetLibDestroyServiceChild (
ControllerHandle,
This->DriverBindingHandle,
- &gEfiUdp4ProtocolGuid,
+ &gEfiUdp4ServiceBindingProtocolGuid,
Private->Udp4Child
);
}
@@ -301,7 +301,7 @@ ON_ERROR:
NetLibDestroyServiceChild (
ControllerHandle,
This->DriverBindingHandle,
- &gEfiMtftp4ProtocolGuid,
+ &gEfiMtftp4ServiceBindingProtocolGuid,
Private->Mtftp4Child
);
}
@@ -317,7 +317,7 @@ ON_ERROR:
NetLibDestroyServiceChild (
ControllerHandle,
This->DriverBindingHandle,
- &gEfiDhcp4ProtocolGuid,
+ &gEfiDhcp4ServiceBindingProtocolGuid,
Private->Dhcp4Child
);
}
@@ -398,10 +398,10 @@ PxeBcDriverBindingStop (
Private->Udp4Child,
&gEfiUdp4ProtocolGuid,
This->DriverBindingHandle,
- ControllerHandle
+ NicHandle
);
NetLibDestroyServiceChild (
- ControllerHandle,
+ NicHandle,
This->DriverBindingHandle,
&gEfiUdp4ServiceBindingProtocolGuid,
Private->Udp4Child
@@ -411,10 +411,10 @@ PxeBcDriverBindingStop (
Private->Dhcp4Child,
&gEfiDhcp4ProtocolGuid,
This->DriverBindingHandle,
- ControllerHandle
+ NicHandle
);
NetLibDestroyServiceChild (
- ControllerHandle,
+ NicHandle,
This->DriverBindingHandle,
&gEfiDhcp4ServiceBindingProtocolGuid,
Private->Dhcp4Child
@@ -424,10 +424,10 @@ PxeBcDriverBindingStop (
Private->Mtftp4Child,
&gEfiMtftp4ProtocolGuid,
This->DriverBindingHandle,
- ControllerHandle
+ NicHandle
);
NetLibDestroyServiceChild (
- ControllerHandle,
+ NicHandle,
This->DriverBindingHandle,
&gEfiMtftp4ServiceBindingProtocolGuid,
Private->Mtftp4Child