From 5b56c52b5c1cc817a1ddac7f03aa6a02aeab4c04 Mon Sep 17 00:00:00 2001 From: Abner Chang Date: Wed, 16 Mar 2022 16:02:49 +0800 Subject: EmulatorPkg/RedfishPlatformCredentialLib: Don't stop Redfish service https://bugzilla.tianocore.org/show_bug.cgi?id=3859 Platform Redfish credential library shouldn't stop the service at either EndOfDXE or ExitBootService notification. RedfishConfigureHandler UEFI driver is responsible to stop the Redfish service when EndOfDXE or ExitBootService event is triggered. Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Andrew Fish Cc: Ray Ni Reviewed-by: Nickle Wang --- .../Library/RedfishPlatformCredentialLib/RedfishPlatformCredentialLib.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'EmulatorPkg') diff --git a/EmulatorPkg/Library/RedfishPlatformCredentialLib/RedfishPlatformCredentialLib.c b/EmulatorPkg/Library/RedfishPlatformCredentialLib/RedfishPlatformCredentialLib.c index a0233a984d..614eaebb0d 100644 --- a/EmulatorPkg/Library/RedfishPlatformCredentialLib/RedfishPlatformCredentialLib.c +++ b/EmulatorPkg/Library/RedfishPlatformCredentialLib/RedfishPlatformCredentialLib.c @@ -223,7 +223,6 @@ LibCredentialExitBootServicesNotify ( IN EDKII_REDFISH_CREDENTIAL_PROTOCOL *This ) { - LibStopRedfishService (This, ServiceStopTypeExitBootService); } /** @@ -237,5 +236,4 @@ LibCredentialEndOfDxeNotify ( IN EDKII_REDFISH_CREDENTIAL_PROTOCOL *This ) { - LibStopRedfishService (This, ServiceStopTypeSecureBootDisabled); } -- cgit v1.2.3