mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-11 19:17:22 +00:00
Fixed PICMG (ATCA) extension verification
- BCD encoded value "major" and "minor" fields were reversed
This commit is contained in:
parent
3b08cc6002
commit
b1cef77bcf
@ -152,7 +152,7 @@ ipmi_openipmi_open(struct ipmi_intf * intf)
|
|||||||
){
|
){
|
||||||
version_accepted = 1;
|
version_accepted = 1;
|
||||||
lprintf(LOG_DEBUG, "Discovered PICMG Extension %d.%d",
|
lprintf(LOG_DEBUG, "Discovered PICMG Extension %d.%d",
|
||||||
(rsp->data[1] >> 4), (rsp->data[1] & 0x0f));
|
(rsp->data[1] & 0x0f),(rsp->data[1] >> 4) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -163,7 +163,7 @@ ipmi_openipmi_open(struct ipmi_intf * intf)
|
|||||||
req.msg.cmd = PICMG_GET_ADDRESS_INFO_CMD;
|
req.msg.cmd = PICMG_GET_ADDRESS_INFO_CMD;
|
||||||
msg_data = 0x00;
|
msg_data = 0x00;
|
||||||
req.msg.data = &msg_data;
|
req.msg.data = &msg_data;
|
||||||
req.msg.data_len = 1;
|
req.msg.data_len = 1;
|
||||||
msg_data = 0;
|
msg_data = 0;
|
||||||
|
|
||||||
rsp = intf->sendrecv(intf, &req);
|
rsp = intf->sendrecv(intf, &req);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user