summaryrefslogtreecommitdiffstats
path: root/occ_status.cpp
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-09-13 18:34:06 +0530
committerVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-09-13 18:42:34 +0530
commite2fb55664195a6d8379f7b07e147c3a184e23687 (patch)
tree5512df788eed5fd3f180354153cb86ab67b19606 /occ_status.cpp
parented0f8eb03c6a35f207f90da581f419aaa4f9fb99 (diff)
downloadopenpower-occ-control-e2fb55664195a6d8379f7b07e147c3a184e23687.tar.gz
openpower-occ-control-e2fb55664195a6d8379f7b07e147c3a184e23687.zip
Disable OCC error monitoring
This is a quick hack until openbmc/openbmc#2285 is resolved Change-Id: I2cb5f61a258bdfe014df63a0b44e444e13d366a9 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'occ_status.cpp')
-rw-r--r--occ_status.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/occ_status.cpp b/occ_status.cpp
index 6788c54..14097ab 100644
--- a/occ_status.cpp
+++ b/occ_status.cpp
@@ -18,20 +18,21 @@ bool Status::occActive(bool value)
device.bind();
// Call into Manager to let know that we have bound
- if (this->callBack)
+ // TODO: openbmc/openbmc#2285
+ /* if (this->callBack)
{
this->callBack(value);
- }
+ }*/
}
else
{
// Call into Manager to let know that we will unbind.
// Need to do this before doing un-bind since it will
// result in slave error if Master is un-bound
- if (this->callBack)
+ /*if (this->callBack)
{
this->callBack(value);
- }
+ }*/
// Do the unbind.
device.unBind();
OpenPOWER on IntegriCloud