1
0
Fork 0

ipmi: Fix getting the GUID data

It was off by one.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
hifive-unleashed-5.1
Corey Minyard 2017-09-07 07:32:20 -05:00
parent e6dd76a6e9
commit 72630d9a01
1 changed files with 1 additions and 1 deletions

View File

@ -2699,7 +2699,7 @@ guid_handler(ipmi_smi_t intf, struct ipmi_recv_msg *msg)
goto out;
}
memcpy(intf->bmc->guid, msg->msg.data, 16);
memcpy(intf->bmc->guid, msg->msg.data + 1, 16);
intf->bmc->guid_set = 1;
out:
wake_up(&intf->waitq);