summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbner Chang <abner.chang@hpe.com>2022-03-16 16:02:49 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-03-16 13:02:28 +0000
commit5b56c52b5c1cc817a1ddac7f03aa6a02aeab4c04 (patch)
tree73fc3eb5cdc0f2afb79fe2108039b5be5187565a
parent33438f7354af9c04cb296fb15a7a79c2c3944c0a (diff)
downloadedk2-5b56c52b5c1cc817a1ddac7f03aa6a02aeab4c04.tar.gz
edk2-5b56c52b5c1cc817a1ddac7f03aa6a02aeab4c04.tar.bz2
edk2-5b56c52b5c1cc817a1ddac7f03aa6a02aeab4c04.zip
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 <abner.chang@hpe.com> Cc: Nickle Wang <nickle.wang@hpe.com> Cc: Andrew Fish <afish@apple.com> Cc: Ray Ni <ray.ni@intel.com> Reviewed-by: Nickle Wang <nickle.wang@hpe.com>
-rw-r--r--EmulatorPkg/Library/RedfishPlatformCredentialLib/RedfishPlatformCredentialLib.c2
1 files changed, 0 insertions, 2 deletions
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);
}