summaryrefslogtreecommitdiffstats
path: root/user_channel
diff options
context:
space:
mode:
Diffstat (limited to 'user_channel')
-rw-r--r--user_channel/usercommands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_channel/usercommands.cpp b/user_channel/usercommands.cpp
index 1d9460c..3396d2d 100644
--- a/user_channel/usercommands.cpp
+++ b/user_channel/usercommands.cpp
@@ -672,7 +672,7 @@ ipmi::RspType<bool, // stdPayload0ipmiReserved
void registerUserIpmiFunctions() __attribute__((constructor));
void registerUserIpmiFunctions()
{
- ipmiUserInit();
+ post_work([]() { ipmiUserInit(); });
ipmi::registerHandler(ipmi::prioOpenBmcBase, ipmi::netFnApp,
ipmi::app::cmdSetUserAccessCommand,
ipmi::Privilege::Admin, ipmiSetUserAccess);
OpenPOWER on IntegriCloud