Properly close a session if our set session priv level command failed.

By this time we have activated successfully.
This commit is contained in:
Jeremy Ellington 2005-04-08 21:37:33 +00:00
parent c86c21e734
commit 805835ca69

View File

@ -1286,12 +1286,12 @@ ipmi_lan_activate_session(struct ipmi_intf * intf)
if (rc < 0)
goto fail;
intf->abort = 0;
rc = ipmi_set_session_privlvl_cmd(intf);
if (rc < 0)
goto fail;
intf->abort = 0;
return 0;
fail: