mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 06:48:44 +00:00
Ignore mei devices without a device file
Else we get a whole ton of log messages on --verbose.
This commit is contained in:
parent
a69341b228
commit
b21d29d98d
@ -46,6 +46,13 @@ fu_udev_backend_device_add(FuUdevBackend *self, GUdevDevice *udev_device)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ignore some devices */
|
||||||
|
if (gtype == FU_TYPE_MEI_DEVICE && g_udev_device_get_device_file(udev_device) == NULL) {
|
||||||
|
g_debug("ignoring MEI device %s as no device file",
|
||||||
|
g_udev_device_get_sysfs_path(udev_device));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* success */
|
/* success */
|
||||||
device = g_object_new(gtype,
|
device = g_object_new(gtype,
|
||||||
"context",
|
"context",
|
||||||
|
Loading…
Reference in New Issue
Block a user