summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-host/0002-Fix-Threshold-WarningAlarmLow.patch
blob: a73305f50723de263221c0b3787ab27124800fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 7b38750f99991fd45ba2d1de36251117b73d3294 Mon Sep 17 00:00:00 2001
From: "Evgeny Alekseev (IBS Group)" <ealekseev@ibs.sila.ru>
Date: Mon, 5 Sep 2022 16:35:13 +0300
Subject: [PATCH] Fix Threshold WarningAlarmLow

---
 sensordatahandler.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sensordatahandler.hpp b/sensordatahandler.hpp
index 1cb2b40..ab837bb 100644
--- a/sensordatahandler.hpp
+++ b/sensordatahandler.hpp
@@ -325,7 +325,7 @@ GetSensorResponse readingData(const Info& sensorInfo)
     {
         warningAlarmLow = std::get<bool>(ipmi::getDbusProperty(
             bus, service, sensorInfo.sensorPath,
-            "xyz.openbmc_project.Sensor.Threshold.Warning", "WarningAlarmlow"));
+            "xyz.openbmc_project.Sensor.Threshold.Warning", "WarningAlarmLow"));
     }
     catch (const std::exception& e)
     {