mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 15:50:29 +00:00
Use EFI-style GUIDs when connecting the MEI interface
This means the GUID matches what the kernel exports in sysfs.
This commit is contained in:
parent
413e33748d
commit
14e7e1b587
@ -144,7 +144,7 @@ fu_mei_device_connect(FuMeiDevice *self,
|
|||||||
g_return_val_if_fail(guid != NULL, FALSE);
|
g_return_val_if_fail(guid != NULL, FALSE);
|
||||||
g_return_val_if_fail(error == NULL || *error == NULL, FALSE);
|
g_return_val_if_fail(error == NULL || *error == NULL, FALSE);
|
||||||
|
|
||||||
if (!fwupd_guid_from_string(guid, &guid_le, FWUPD_GUID_FLAG_NONE, error))
|
if (!fwupd_guid_from_string(guid, &guid_le, FWUPD_GUID_FLAG_MIXED_ENDIAN, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
memcpy(&data.in_client_uuid, &guid_le, sizeof(guid_le));
|
memcpy(&data.in_client_uuid, &guid_le, sizeof(guid_le));
|
||||||
if (!fu_udev_device_ioctl(FU_UDEV_DEVICE(self),
|
if (!fu_udev_device_ioctl(FU_UDEV_DEVICE(self),
|
||||||
|
@ -16,7 +16,7 @@ struct _FuAmtDevice {
|
|||||||
|
|
||||||
G_DEFINE_TYPE(FuAmtDevice, fu_amt_device, FU_TYPE_MEI_DEVICE)
|
G_DEFINE_TYPE(FuAmtDevice, fu_amt_device, FU_TYPE_MEI_DEVICE)
|
||||||
|
|
||||||
#define FU_AMT_DEVICE_MEI_IAMTHIF "2800f812-b7b4-2d4b-aca8-46e0ff65814c"
|
#define FU_AMT_DEVICE_MEI_IAMTHIF "12f80028-b4b7-4b2d-aca8-46e0ff65814c"
|
||||||
|
|
||||||
#define AMT_MAJOR_VERSION 1
|
#define AMT_MAJOR_VERSION 1
|
||||||
#define AMT_MINOR_VERSION 1
|
#define AMT_MINOR_VERSION 1
|
||||||
|
Loading…
Reference in New Issue
Block a user