mirror of
https://opendev.org/x/pyghmi
synced 2025-01-14 03:37:47 +00:00
Correct offset of a capability bit
Specification has corrected an internal bit offset, so our implementation must adapt. Change-Id: I62cf562cfd80b0bc680f41881bf64e421f503432
This commit is contained in:
parent
369f8440fa
commit
2963ecf466
@ -494,7 +494,7 @@ class OEMHandler(generic.OEMHandler):
|
||||
self._hasimm = False
|
||||
return False
|
||||
rdata = bytearray(bdata['data'][:])
|
||||
self._hasimm = (rdata[1] & 1 == 1) or (rdata[1] & 16 == 16)
|
||||
self._hasimm = (rdata[1] & 1 == 1) or (rdata[1] & 8 == 8)
|
||||
return self._hasimm
|
||||
|
||||
def get_oem_firmware(self, bmcver):
|
||||
|
Loading…
x
Reference in New Issue
Block a user