diff --git a/ipmitool/src/plugins/lan/lan.c b/ipmitool/src/plugins/lan/lan.c index 4e3901d..b31fc88 100644 --- a/ipmitool/src/plugins/lan/lan.c +++ b/ipmitool/src/plugins/lan/lan.c @@ -1039,8 +1039,12 @@ ipmi_lan_activate_session(struct ipmi_intf * intf) ipmi_lan_first(intf); rc = ipmi_get_auth_capabilities_cmd(intf); - if (rc < 0) - return -1; + if (rc < 0) { + sleep(1); + rc = ipmi_get_auth_capabilities_cmd(intf); + if (rc < 0) + return -1; + } rc = ipmi_get_session_challenge_cmd(intf); if (rc < 0)