From f4f4ebe0a2076d196ecd5be55b36cff3e9c08ff4 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 10 Mar 2020 12:10:45 +0000 Subject: [PATCH] vli: Ignore one more error when attaching --- plugins/vli/fu-vli-pd-device.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/vli/fu-vli-pd-device.c b/plugins/vli/fu-vli-pd-device.c index af28e52f6..5c467ea0a 100644 --- a/plugins/vli/fu-vli-pd-device.c +++ b/plugins/vli/fu-vli-pd-device.c @@ -523,6 +523,9 @@ fu_vli_pd_device_attach (FuDevice *device, GError **error) if (g_error_matches (error_local, G_USB_DEVICE_ERROR, G_USB_DEVICE_ERROR_NO_DEVICE) || + g_error_matches (error_local, + G_USB_DEVICE_ERROR, + G_USB_DEVICE_ERROR_TIMED_OUT) || g_error_matches (error_local, G_USB_DEVICE_ERROR, G_USB_DEVICE_ERROR_FAILED)) {