add param ImageHandle for MnpFlushServiceData().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5887 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2008-09-12 05:36:21 +00:00
parent bc3fc71a37
commit 3ec64ac503
3 changed files with 8 additions and 6 deletions

View File

@ -469,7 +469,8 @@ ERROR:
**/ **/
VOID VOID
MnpFlushServiceData ( MnpFlushServiceData (
MNP_SERVICE_DATA *MnpServiceData IN MNP_SERVICE_DATA *MnpServiceData,
IN EFI_HANDLE ImageHandle
) )
{ {
NET_CHECK_SIGNATURE (MnpServiceData, MNP_SERVICE_DATA_SIGNATURE); NET_CHECK_SIGNATURE (MnpServiceData, MNP_SERVICE_DATA_SIGNATURE);
@ -516,7 +517,7 @@ MnpFlushServiceData (
gBS->CloseProtocol ( gBS->CloseProtocol (
MnpServiceData->ControllerHandle, MnpServiceData->ControllerHandle,
&gEfiSimpleNetworkProtocolGuid, &gEfiSimpleNetworkProtocolGuid,
This->DriverBindingHandle, ImageHandle,
MnpServiceData->ControllerHandle MnpServiceData->ControllerHandle
); );
} }

View File

@ -166,7 +166,7 @@ ErrorExit:
// //
// Flush the Mnp Service Data. // Flush the Mnp Service Data.
// //
MnpFlushServiceData (MnpServiceData); MnpFlushServiceData (MnpServiceData, This->DriverBindingHandle);
} }
gBS->FreePool (MnpServiceData); gBS->FreePool (MnpServiceData);
@ -250,7 +250,7 @@ MnpDriverBindingStop (
// //
// Flush the Mnp service data. // Flush the Mnp service data.
// //
MnpFlushServiceData (MnpServiceData); MnpFlushServiceData (MnpServiceData, This->DriverBindingHandle);
gBS->FreePool (MnpServiceData); gBS->FreePool (MnpServiceData);
} else { } else {

View File

@ -1,6 +1,6 @@
/** @file /** @file
Copyright (c) 2005 - 2007, Intel Corporation Copyright (c) 2005 - 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
@ -105,7 +105,8 @@ MnpInitializeServiceData (
VOID VOID
MnpFlushServiceData ( MnpFlushServiceData (
MNP_SERVICE_DATA *MnpServiceData IN MNP_SERVICE_DATA *MnpServiceData,
IN EFI_HANDLE ImageHandle
); );
VOID VOID