intel-ipmi-oem: Fix special mode path
Special mode object patch needs to be corrected to read
the property value properly using Get Security mode command
Tested:
1. Verified proper value is returned using
ipmitool raw 0x30 0xB3
Change-Id: I13169a69032184db6491598314b421f195ae529c
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
diff --git a/src/oemcommands.cpp b/src/oemcommands.cpp
index d53f4ef..71484b7 100644
--- a/src/oemcommands.cpp
+++ b/src/oemcommands.cpp
@@ -87,7 +87,7 @@
static constexpr const char* specialModeService =
"xyz.openbmc_project.SpecialMode";
static constexpr const char* specialModeBasePath =
- "/xyz/openbmc_project/security/specialMode";
+ "/xyz/openbmc_project/security/special_mode";
static constexpr const char* specialModeIntf =
"xyz.openbmc_project.Security.SpecialMode";
static constexpr const char* specialModeProperty = "SpecialMode";