mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-11 19:17:22 +00:00
don't send close session command till after session priviledge level
has been established
This commit is contained in:
parent
e09dc5950c
commit
c199b86143
@ -1052,12 +1052,12 @@ ipmi_lan_activate_session(struct ipmi_intf * intf)
|
|||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
intf->abort = 0;
|
|
||||||
|
|
||||||
rc = ipmi_set_session_privlvl_cmd(intf);
|
rc = ipmi_set_session_privlvl_cmd(intf);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
|
intf->abort = 0;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user