Skip to content

Commit 6af569f

Browse files
committed
Correct naming of NMI button in BMCSourceSignal
NMISource related properties already moved from "intel-dbus-interface" to "phospher-dbus-interfaces". However, the name "FpBtn" is using for "com.intel", not for "xyz.openbmc_project" that is using "FrontPanelButton" according to "xyz/openbmc_project/Chassis/Control/NMISource.interface.yaml". Thus, need to correct this naming to match current design. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I9629950fbb077ebf59cd3ef14e382fd40a739895
1 parent cfc4d25 commit 6af569f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/power_control.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2196,7 +2196,7 @@ static void setNmiSource()
21962196
"org.freedesktop.DBus.Properties", "Set",
21972197
"xyz.openbmc_project.Chassis.Control.NMISource", "BMCSource",
21982198
std::variant<std::string>{
2199-
"xyz.openbmc_project.Chassis.Control.NMISource.BMCSourceSignal.FpBtn"});
2199+
"xyz.openbmc_project.Chassis.Control.NMISource.BMCSourceSignal.FrontPanelButton"});
22002200
// set Enable Property
22012201
nmiSetEnableProperty(true);
22022202
}

0 commit comments

Comments
 (0)