mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-06-21 12:51:37 +00:00
retry Get Authentication Capabilities command after 1 second pause
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user