Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

ipmi: Fix getting the GUID data



It was off by one.

Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent e6dd76a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);