mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 14:22:13 +00:00
Add the correct instance ID for HUB devices
This commit is contained in:
parent
40c8132dbb
commit
a92a33f522
@ -241,7 +241,13 @@ fu_usb_device_query_hub(FuUsbDevice *self, GError **error)
|
|||||||
}
|
}
|
||||||
if (hub->len > 0)
|
if (hub->len > 0)
|
||||||
fu_device_add_instance_str(FU_DEVICE(self), "HUB", hub->str);
|
fu_device_add_instance_str(FU_DEVICE(self), "HUB", hub->str);
|
||||||
return fu_device_build_instance_id(FU_DEVICE(self), error, "VID", "PID", "HUB", NULL);
|
return fu_device_build_instance_id(FU_DEVICE(self),
|
||||||
|
error,
|
||||||
|
"USB",
|
||||||
|
"VID",
|
||||||
|
"PID",
|
||||||
|
"HUB",
|
||||||
|
NULL);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user