Home
last modified time | relevance | path

Searched hist:"98 cb6186" (Results 1 – 1 of 1) sorted by relevance

/openbmc/intel-ipmi-oem/src/
H A Dbmccontrolservices.cpp98cb6186 Tue Aug 31 09:19:19 CDT 2021 Arun P. Mohanan <arun.p.m@linux.intel.com> fix: Correct bit mask for GetBMCServiceStatus cmd

Bit 14 and 15 of GetBMCServiceStatus command response represents
status of Video and USB redirection. These 2 bits should match since
a single service maintains both. The logic for the same is already
implemented. But incorrect mask resulted in error values when previously
un-used bits(bit 13) got defined for new services.

This change corrects the bit mask to extract only bit 15

Tested:
Verified commands is giving expected response
Command: ipmitool raw 0x30 0xb2
Response: 68 e0
Command: ipmitool raw 0x30 0xB1 0x00 0x68 0xe0
Response: Success
Command: ipmitool raw 0x30 0xb2
Response: 00 00

Signed-off-by: Arun P. Mohanan <arun.p.m@linux.intel.com>
Change-Id: Iba8e44fe6ee21e599c6f1575c7ba90a48cdee746