mirror of https://github.com/acidanthera/audk.git
Pass correct device path to uninstall the handle on which default config access protocol is installed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8044 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8141eea5fa
commit
647a768d85
|
@ -274,6 +274,7 @@ UninstallDefaultConfigAccessProtocol (
|
|||
{
|
||||
EFI_STATUS Status;
|
||||
EFI_HII_CONFIG_ACCESS_PROTOCOL *ConfigAccess;
|
||||
HII_VENDOR_DEVICE_PATH *HiiVendorPath;
|
||||
|
||||
Status = gBS->HandleProtocol (
|
||||
ThunkContext->UefiHiiDriverHandle,
|
||||
|
@ -282,10 +283,17 @@ UninstallDefaultConfigAccessProtocol (
|
|||
);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
Status = gBS->HandleProtocol (
|
||||
ThunkContext->UefiHiiDriverHandle,
|
||||
&gEfiDevicePathProtocolGuid,
|
||||
(VOID **) &HiiVendorPath
|
||||
);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
Status = gBS->UninstallMultipleProtocolInterfaces (
|
||||
ThunkContext->UefiHiiDriverHandle,
|
||||
&gEfiDevicePathProtocolGuid,
|
||||
&mUefiHiiVendorDevicePath,
|
||||
HiiVendorPath,
|
||||
&gEfiHiiConfigAccessProtocolGuid,
|
||||
ConfigAccess,
|
||||
NULL
|
||||
|
|
Loading…
Reference in New Issue