From 739523b032fea8e9df3c3048733e8feb620e07d3 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 20 Feb 2023 11:28:59 +0000 Subject: [PATCH] intel-usb4: Allow setting the name from the metadata We can do so much better than 'USB3.0 Hub'. --- plugins/intel-usb4/fu-intel-usb4-device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/intel-usb4/fu-intel-usb4-device.c b/plugins/intel-usb4/fu-intel-usb4-device.c index bb20a13f0..b12583ea6 100644 --- a/plugins/intel-usb4/fu-intel-usb4-device.c +++ b/plugins/intel-usb4/fu-intel-usb4-device.c @@ -567,6 +567,7 @@ fu_intel_usb4_device_init(FuIntelUsb4Device *self) fu_device_add_flag(FU_DEVICE(self), FWUPD_DEVICE_FLAG_SIGNED_PAYLOAD); fu_device_set_version_format(FU_DEVICE(self), FWUPD_VERSION_FORMAT_PAIR); fu_device_add_internal_flag(FU_DEVICE(self), FU_DEVICE_INTERNAL_FLAG_INHERIT_ACTIVATION); + fu_device_add_internal_flag(FU_DEVICE(self), FU_DEVICE_INTERNAL_FLAG_MD_SET_NAME_CATEGORY); fu_device_set_remove_delay(FU_DEVICE(self), FU_INTEL_USB4_DEVICE_REMOVE_DELAY); } -- 2.39.5