2
0
mirror of https://opendev.org/x/pyghmi synced 2025-02-28 16:21:08 +00:00

Merge "Support SMMv2 permission check format"

This commit is contained in:
Zuul 2020-10-08 18:16:31 +00:00 committed by Gerrit Code Review
commit 8265c9dbe7

View File

@ -126,7 +126,7 @@ def fpc_get_nodeperm(ipmicmd, number, sz):
perminfo = bytearray(rsp['data'])[1]
if sz == 6: # FPC
permfail = ('\x02', '\x03')
elif sz == 2: # SMM
else: # SMM
permfail = ('\x02',)
if perminfo & 0x20:
if rsp['data'][4] in permfail: