mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
retry Get Authentication Capabilities command after 1 second pause
This commit is contained in:
parent
0710a0a98e
commit
ef055c6246
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user