mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-15 01:08:19 +00:00
vli: Fix a critical warning when getting the USB speed
This commit is contained in:
parent
393b0a1677
commit
ff93d91f5a
@ -110,7 +110,7 @@ fu_vli_usbhub_i2c_device_write_firmware (FuDevice *device,
|
||||
{
|
||||
FuVliUsbhubDevice *parent = FU_VLI_USBHUB_DEVICE (fu_device_get_parent (device));
|
||||
GPtrArray *records = fu_ihex_firmware_get_records (FU_IHEX_FIRMWARE (firmware));
|
||||
guint16 usbver = fu_usb_device_get_spec (FU_USB_DEVICE (device));
|
||||
guint16 usbver = fu_usb_device_get_spec (FU_USB_DEVICE (parent));
|
||||
g_autoptr(FuDeviceLocker) locker = NULL;
|
||||
|
||||
/* open device */
|
||||
|
Loading…
Reference in New Issue
Block a user