- Fix a bug where the retry-count parameters was 'anded' with 0x03 instead of 0x07

See IPMI specification 2.0 rev 1.0 markup june 2004 table 26-5 parameters 4
This commit is contained in:
Jean-Michel Audet 2005-09-09 17:09:50 +00:00
parent 77275ab616
commit a15d6a31ac

View File

@ -769,7 +769,7 @@ ipmi_sol_set_param(struct ipmi_intf * intf,
req.msg.data_len = 4;
data[1] = SOL_PARAMETER_SOL_RETRY;
data[2] = (uint8_t)strtol(value, NULL, 0) & 0x03;
data[2] = (uint8_t)strtol(value, NULL, 0) & 0x07;
/* We need other values to complete the request */
if (ipmi_get_sol_info(intf, channel, &params))