mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 03:56:30 +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 */
|
||||
device = g_object_new(gtype,
|
||||
"context",
|
||||
|
Loading…
Reference in New Issue
Block a user