mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-10 22:49:18 +00:00
genesys: usbhub: Fix firmware max size regression
This fixes commit 1ade02e944
.
Fixes:
firmware too large, got 0x6312, expected <= 0x6000
This commit is contained in:
parent
d3ce827f96
commit
e22eaf0726
@ -986,7 +986,7 @@ fu_genesys_usbhub_device_setup(FuDevice *device, GError **error)
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
fu_device_set_firmware_size_max(device, self->fw_data_total_count);
|
fu_device_set_firmware_size_max(device, self->fw_data_total_count + self->extend_size);
|
||||||
|
|
||||||
/* verify firmware integrity */
|
/* verify firmware integrity */
|
||||||
bufsz = self->fw_data_total_count + self->extend_size;
|
bufsz = self->fw_data_total_count + self->extend_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user