Browse Source

ipmi: Fix getting the GUID data

It was off by one.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Corey Minyard 8 years ago
parent
commit
72630d9a01
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/char/ipmi/ipmi_msghandler.c

+ 1 - 1
drivers/char/ipmi/ipmi_msghandler.c

@@ -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);