2
0
mirror of https://opendev.org/x/pyghmi synced 2026-08-28 17:46:44 +00:00

Fix web role setting on SMM

Newer variants also require the special treatment,
switch to blocking the only variant that is unsupported.

Change-Id: Ifc679dd294d445f218c0b504d286155ac3e315d6
This commit is contained in:
Jarrod Johnson
2022-08-19 09:06:47 -04:00
parent 5f1ba6038f
commit d99c07ce81
+1 -1
View File
@@ -386,7 +386,7 @@ class OEMHandler(generic.OEMHandler):
def set_user_access(self, uid, channel, callback, link_auth, ipmi_msg,
privilege_level):
if self.is_fpc and self._fpc_variant == 2:
if self.is_fpc and self._fpc_variant != 6:
self.smmhandler.set_user_priv(uid, privilege_level)
@property