EmbeddedPkg/MmcDxe: Fix protocols uninstallation in Stop() function

The EFI handle argument passed to disconnect the protocol was not correct.
A pointer to this handle was passed as argument instead to be only the
handle itself.




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11464 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
oliviermartin 2011-03-31 11:11:59 +00:00
parent ad33170dc0
commit 6102636abc
1 changed files with 2 additions and 2 deletions

View File

@ -155,9 +155,9 @@ EFI_STATUS DestroyMmcHostInstance(
// Uninstall Protocol Interfaces
Status = gBS->UninstallMultipleProtocolInterfaces(
&MmcHostInstance->MmcHandle,
MmcHostInstance->MmcHandle,
&gEfiBlockIoProtocolGuid,&(MmcHostInstance->BlockIo),
&gEfiDevicePathProtocolGuid,&(MmcHostInstance->DevicePath),
&gEfiDevicePathProtocolGuid,MmcHostInstance->DevicePath,
NULL
);
ASSERT_EFI_ERROR (Status);