From 51dc1f659f280fefefc960377dc79490c03d3f5e Mon Sep 17 00:00:00 2001 From: vanjeff Date: Fri, 11 Jan 2008 07:22:12 +0000 Subject: [PATCH] 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 --- .../Network/UefiPxeBcDxe/PxeBcDriver.c | 20 +++++++++---------- 1 file 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