Commit 72630d9a authored by Corey Minyard's avatar Corey Minyard

ipmi: Fix getting the GUID data

It was off by one.
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent e6dd76a6
...@@ -2699,7 +2699,7 @@ guid_handler(ipmi_smi_t intf, struct ipmi_recv_msg *msg) ...@@ -2699,7 +2699,7 @@ guid_handler(ipmi_smi_t intf, struct ipmi_recv_msg *msg)
goto out; goto out;
} }
memcpy(intf->bmc->guid, msg->msg.data, 16); memcpy(intf->bmc->guid, msg->msg.data + 1, 16);
intf->bmc->guid_set = 1; intf->bmc->guid_set = 1;
out: out:
wake_up(&intf->waitq); wake_up(&intf->waitq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment