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:
Richard Hughes 2022-10-11 15:20:52 +01:00
parent 413e33748d
commit 14e7e1b587
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ fu_mei_device_connect(FuMeiDevice *self,
g_return_val_if_fail(guid != 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;
memcpy(&data.in_client_uuid, &guid_le, sizeof(guid_le));
if (!fu_udev_device_ioctl(FU_UDEV_DEVICE(self),

View File

@ -16,7 +16,7 @@ struct _FuAmtDevice {
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_MINOR_VERSION 1