vli: Ignore one more error when attaching

This commit is contained in:
Richard Hughes 2020-03-10 12:10:45 +00:00
parent 75cc9161c5
commit f4f4ebe0a2

View File

@ -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)) {