27 lines
788 B
Diff
Executable File
27 lines
788 B
Diff
Executable File
From 335c1661c6dad640e941ec2378420c2128b78b8d Mon Sep 17 00:00:00 2001
|
|
From: wangbin <Bin-B.Wang@luxshare-ict.com>
|
|
Date: Thu, 30 Oct 2025 21:45:08 +0800
|
|
Subject: [PATCH] BMC status is set to normal by default
|
|
|
|
---
|
|
apphandler.cpp | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/apphandler.cpp b/apphandler.cpp
|
|
index 5628b35..d01bff9 100644
|
|
--- a/apphandler.cpp
|
|
+++ b/apphandler.cpp
|
|
@@ -711,7 +711,8 @@ ipmi::RspType<uint8_t, // Device ID
|
|
devId.fw[0] &= ipmiDevIdFw1Mask;
|
|
if (!getCurrentBmcStateWithFallback(defaultActivationSetting))
|
|
{
|
|
- devId.fw[0] |= (1 << ipmiDevIdStateShift);
|
|
+ // BMC status is set to normal by default
|
|
+ // devId.fw[0] |= (1 << ipmiDevIdStateShift);
|
|
}
|
|
|
|
return ipmi::responseSuccess(
|
|
--
|
|
2.25.1
|
|
|