From d99c07ce8130d266faad0492573a243c8ac1b1c3 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 19 Aug 2022 09:06:47 -0400 Subject: [PATCH] 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 --- pyghmi/ipmi/oem/lenovo/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyghmi/ipmi/oem/lenovo/handler.py b/pyghmi/ipmi/oem/lenovo/handler.py index 5993bea3..1a20e5b2 100755 --- a/pyghmi/ipmi/oem/lenovo/handler.py +++ b/pyghmi/ipmi/oem/lenovo/handler.py @@ -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