mirror of
https://opendev.org/x/pyghmi
synced 2025-01-29 12:27:37 +00:00
Support SMMv2 permission check format
Change-Id: I3126e5fd6b34a7b74e506772b3dbd377609fb13f
This commit is contained in:
parent
2dd0d1e4d2
commit
e9231cbfad
@ -123,7 +123,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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user