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:
Jarrod Johnson 2016-12-07 14:25:50 -05:00
parent 369f8440fa
commit 2963ecf466
1 changed files with 1 additions and 1 deletions

View File

@ -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):