summaryrefslogtreecommitdiffstats
path: root/storagehandler.cpp
diff options
context:
space:
mode:
authorMarri Devender Rao <devenrao@in.ibm.com>2017-07-10 01:49:54 -0500
committerMarri Devender Rao <devenrao@in.ibm.com>2017-07-26 03:12:42 -0500
commit908f75075bfb4ece993d6dcfb00ceccbe3983f59 (patch)
treea1bc0d7480828b224a17d44839b86ff17871cf2b /storagehandler.cpp
parentc9d7d0197566faef14f290ebfc2695c93eb4cb85 (diff)
downloadphosphor-host-ipmid-908f75075bfb4ece993d6dcfb00ceccbe3983f59.tar.gz
phosphor-host-ipmid-908f75075bfb4ece993d6dcfb00ceccbe3983f59.zip
cater for property change signal to invalidate fru data
Resolves openbmc/openbmc#1560 Change-Id: I90897959dab76181a6006c372c4b60cc1bdd0c0c Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Diffstat (limited to 'storagehandler.cpp')
-rw-r--r--storagehandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/storagehandler.cpp b/storagehandler.cpp
index 36e1bb4..b38e06c 100644
--- a/storagehandler.cpp
+++ b/storagehandler.cpp
@@ -712,6 +712,7 @@ void register_netfn_storage_functions()
ipmi_register_callback(NETFUN_STORAGE, IPMI_CMD_READ_FRU_DATA, NULL,
ipmi_storage_read_fru_data, PRIVILEGE_OPERATOR);
+ ipmi::fru::registerCallbackHandler();
return;
}
OpenPOWER on IntegriCloud