ipmi: Fix getting the GUID data
It was off by one. Signed-off-by: Corey Minyard <cminyard@mvista.com>
This commit is contained in:
Родитель
e6dd76a6e9
Коммит
72630d9a01
|
@ -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);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче