mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 14:44:28 +02:00
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
This commit is contained in:
parent
ab5f0d6d12
commit
51dc1f659f
@ -1,6 +1,6 @@
|
|||||||
/** @file
|
/** @file
|
||||||
|
|
||||||
Copyright (c) 2007, Intel Corporation
|
Copyright (c) 2007 - 2008, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -285,7 +285,7 @@ ON_ERROR:
|
|||||||
NetLibDestroyServiceChild (
|
NetLibDestroyServiceChild (
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
&gEfiUdp4ProtocolGuid,
|
&gEfiUdp4ServiceBindingProtocolGuid,
|
||||||
Private->Udp4Child
|
Private->Udp4Child
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -301,7 +301,7 @@ ON_ERROR:
|
|||||||
NetLibDestroyServiceChild (
|
NetLibDestroyServiceChild (
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
&gEfiMtftp4ProtocolGuid,
|
&gEfiMtftp4ServiceBindingProtocolGuid,
|
||||||
Private->Mtftp4Child
|
Private->Mtftp4Child
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -317,7 +317,7 @@ ON_ERROR:
|
|||||||
NetLibDestroyServiceChild (
|
NetLibDestroyServiceChild (
|
||||||
ControllerHandle,
|
ControllerHandle,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
&gEfiDhcp4ProtocolGuid,
|
&gEfiDhcp4ServiceBindingProtocolGuid,
|
||||||
Private->Dhcp4Child
|
Private->Dhcp4Child
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -398,10 +398,10 @@ PxeBcDriverBindingStop (
|
|||||||
Private->Udp4Child,
|
Private->Udp4Child,
|
||||||
&gEfiUdp4ProtocolGuid,
|
&gEfiUdp4ProtocolGuid,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
ControllerHandle
|
NicHandle
|
||||||
);
|
);
|
||||||
NetLibDestroyServiceChild (
|
NetLibDestroyServiceChild (
|
||||||
ControllerHandle,
|
NicHandle,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
&gEfiUdp4ServiceBindingProtocolGuid,
|
&gEfiUdp4ServiceBindingProtocolGuid,
|
||||||
Private->Udp4Child
|
Private->Udp4Child
|
||||||
@ -411,10 +411,10 @@ PxeBcDriverBindingStop (
|
|||||||
Private->Dhcp4Child,
|
Private->Dhcp4Child,
|
||||||
&gEfiDhcp4ProtocolGuid,
|
&gEfiDhcp4ProtocolGuid,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
ControllerHandle
|
NicHandle
|
||||||
);
|
);
|
||||||
NetLibDestroyServiceChild (
|
NetLibDestroyServiceChild (
|
||||||
ControllerHandle,
|
NicHandle,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
&gEfiDhcp4ServiceBindingProtocolGuid,
|
&gEfiDhcp4ServiceBindingProtocolGuid,
|
||||||
Private->Dhcp4Child
|
Private->Dhcp4Child
|
||||||
@ -424,10 +424,10 @@ PxeBcDriverBindingStop (
|
|||||||
Private->Mtftp4Child,
|
Private->Mtftp4Child,
|
||||||
&gEfiMtftp4ProtocolGuid,
|
&gEfiMtftp4ProtocolGuid,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
ControllerHandle
|
NicHandle
|
||||||
);
|
);
|
||||||
NetLibDestroyServiceChild (
|
NetLibDestroyServiceChild (
|
||||||
ControllerHandle,
|
NicHandle,
|
||||||
This->DriverBindingHandle,
|
This->DriverBindingHandle,
|
||||||
&gEfiMtftp4ServiceBindingProtocolGuid,
|
&gEfiMtftp4ServiceBindingProtocolGuid,
|
||||||
Private->Mtftp4Child
|
Private->Mtftp4Child
|
||||||
|
Loading…
x
Reference in New Issue
Block a user