summaryrefslogtreecommitdiffstats
path: root/storagehandler.cpp
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2019-02-04 14:06:58 +0530
committerTom Joseph <tomjoseph@in.ibm.com>2019-02-04 14:21:37 +0530
commite19540e6d8e96e205978712a698e83f676553360 (patch)
treee16ef41c24770c7771268e96130b81f7258348da /storagehandler.cpp
parent73906b9c9123218a7f8fc86db34957b965c53870 (diff)
downloadphosphor-host-ipmid-e19540e6d8e96e205978712a698e83f676553360.tar.gz
phosphor-host-ipmid-e19540e6d8e96e205978712a698e83f676553360.zip
Revert "eSEL: Remove unused code related to logging eSEL"
This reverts commit 54fad6de0541c2f98e9b511f1d30bbcbcd743db6. This commit is reverted because the mapping of D-Bus object path to sensor information is still needed. The mapping is needed to serve the SEL commands which translate D-Bus logging objects to SEL entries. Change-Id: I2505299671db1f0bd7f116ef0e2ca4a0273eead8
Diffstat (limited to 'storagehandler.cpp')
-rw-r--r--storagehandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/storagehandler.cpp b/storagehandler.cpp
index 36449ab..ebd0a20 100644
--- a/storagehandler.cpp
+++ b/storagehandler.cpp
@@ -631,6 +631,10 @@ ipmi_ret_t ipmi_storage_add_sel(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
// procedure number.
createProcedureLogEntry(p->sensortype);
}
+ else
+ {
+ send_esel(recordid);
+ }
return rc;
}
OpenPOWER on IntegriCloud