summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-12 05:36:21 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-12 05:36:21 +0000
commit3ec64ac5033eec976703461698e698972eb70e63 (patch)
treed37ca81baf2a0b74371c5788be189a2df6732991 /MdeModulePkg/Universal
parentbc3fc71a3797ee4d84ed0ada3957ea279078d423 (diff)
downloadedk2-platforms-3ec64ac5033eec976703461698e698972eb70e63.tar.xz
add param ImageHandle for MnpFlushServiceData().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5887 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r--MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c5
-rw-r--r--MdeModulePkg/Universal/Network/MnpDxe/MnpDriver.c4
-rw-r--r--MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h5
3 files changed, 8 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c b/MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c
index aea31e461e..2268e6df82 100644
--- a/MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c
+++ b/MdeModulePkg/Universal/Network/MnpDxe/MnpConfig.c
@@ -469,7 +469,8 @@ ERROR:
**/
VOID
MnpFlushServiceData (
- MNP_SERVICE_DATA *MnpServiceData
+ IN MNP_SERVICE_DATA *MnpServiceData,
+ IN EFI_HANDLE ImageHandle
)
{
NET_CHECK_SIGNATURE (MnpServiceData, MNP_SERVICE_DATA_SIGNATURE);
@@ -516,7 +517,7 @@ MnpFlushServiceData (
gBS->CloseProtocol (
MnpServiceData->ControllerHandle,
&gEfiSimpleNetworkProtocolGuid,
- This->DriverBindingHandle,
+ ImageHandle,
MnpServiceData->ControllerHandle
);
}
diff --git a/MdeModulePkg/Universal/Network/MnpDxe/MnpDriver.c b/MdeModulePkg/Universal/Network/MnpDxe/MnpDriver.c
index 1c02e73f68..7284fd73b5 100644
--- a/MdeModulePkg/Universal/Network/MnpDxe/MnpDriver.c
+++ b/MdeModulePkg/Universal/Network/MnpDxe/MnpDriver.c
@@ -166,7 +166,7 @@ ErrorExit:
//
// Flush the Mnp Service Data.
//
- MnpFlushServiceData (MnpServiceData);
+ MnpFlushServiceData (MnpServiceData, This->DriverBindingHandle);
}
gBS->FreePool (MnpServiceData);
@@ -250,7 +250,7 @@ MnpDriverBindingStop (
//
// Flush the Mnp service data.
//
- MnpFlushServiceData (MnpServiceData);
+ MnpFlushServiceData (MnpServiceData, This->DriverBindingHandle);
gBS->FreePool (MnpServiceData);
} else {
diff --git a/MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h b/MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h
index 436dbeb674..4b62967902 100644
--- a/MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h
+++ b/MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h
@@ -1,6 +1,6 @@
/** @file
-Copyright (c) 2005 - 2007, Intel Corporation
+Copyright (c) 2005 - 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
@@ -105,7 +105,8 @@ MnpInitializeServiceData (
VOID
MnpFlushServiceData (
- MNP_SERVICE_DATA *MnpServiceData
+ IN MNP_SERVICE_DATA *MnpServiceData,
+ IN EFI_HANDLE ImageHandle
);
VOID