summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps/istep14/call_mss_power_cleanup.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/isteps/istep14/call_mss_power_cleanup.C')
-rw-r--r--src/usr/isteps/istep14/call_mss_power_cleanup.C5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/isteps/istep14/call_mss_power_cleanup.C b/src/usr/isteps/istep14/call_mss_power_cleanup.C
index c86d172be..db6bdf228 100644
--- a/src/usr/isteps/istep14/call_mss_power_cleanup.C
+++ b/src/usr/isteps/istep14/call_mss_power_cleanup.C
@@ -131,9 +131,10 @@ void* call_mss_power_cleanup (void *io_pArgs)
// Run the nvdimm management functions if the list is not empty
if (!l_nvdimmTargetList.empty()){
- // Must generate encryption keys before the restore
- NVDIMM::nvdimm_gen_keys(l_nvdimmTargetList);
+ NVDIMM::nvdimm_gen_keys();
+ NVDIMM::nvdimm_encrypt_unlock(l_nvdimmTargetList);
NVDIMM::nvdimm_restore(l_nvdimmTargetList);
+ NVDIMM::nvdimm_encrypt_enable(l_nvdimmTargetList);
}
}
#endif
OpenPOWER on IntegriCloud