mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-09 09:55:39 +00:00
dfu: Allow wildcarded VIDs and PIDs when loading from a .cab file
The logic is that this will have been matched using the GUID before it gets to the writing stage.
This commit is contained in:
parent
fd4697188a
commit
ee46fb6d09
@ -372,7 +372,9 @@ fu_plugin_update (FuPlugin *plugin,
|
|||||||
DFU_FIRMWARE_PARSE_FLAG_NONE, error))
|
DFU_FIRMWARE_PARSE_FLAG_NONE, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
if (!dfu_device_download (device, dfu_firmware,
|
if (!dfu_device_download (device, dfu_firmware,
|
||||||
DFU_TARGET_TRANSFER_FLAG_VERIFY,
|
DFU_TARGET_TRANSFER_FLAG_VERIFY |
|
||||||
|
DFU_TARGET_TRANSFER_FLAG_WILDCARD_VID |
|
||||||
|
DFU_TARGET_TRANSFER_FLAG_WILDCARD_PID,
|
||||||
NULL, error))
|
NULL, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user