mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
ID: 286 - Open session retries hit assert in ipmi_lanplus_send_payload
If we have to retry an open session request, we hit an assert that assumes we can only be in LANPLUS_STATE_PRESESSION state. Add LANPLUS_STATE_OPEN_SESSION_SENT so we don't abort if we retry. Commit for Anton Blanchard
This commit is contained in:
parent
36c11f6033
commit
6cf6b4b845
@ -2174,7 +2174,8 @@ ipmi_lanplus_send_payload(
|
||||
else if (payload->payload_type == IPMI_PAYLOAD_TYPE_RMCP_OPEN_REQUEST)
|
||||
{
|
||||
lprintf(LOG_DEBUG, ">> SENDING AN OPEN SESSION REQUEST\n");
|
||||
assert(session->v2_data.session_state == LANPLUS_STATE_PRESESSION);
|
||||
assert(session->v2_data.session_state == LANPLUS_STATE_PRESESSION
|
||||
|| session->v2_data.session_state == LANPLUS_STATE_OPEN_SESSION_SENT);
|
||||
|
||||
ipmi_lanplus_build_v2x_msg(intf, /* in */
|
||||
payload, /* in */
|
||||
|
Loading…
x
Reference in New Issue
Block a user