mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-21 17:32:04 +00:00
libdfu: Do not do GetStatus on dfuse upload
This commit is contained in:
parent
5e40ae8778
commit
fa522907e9
@ -901,12 +901,6 @@ dfu_target_upload_chunk (DfuTarget *target, guint8 index,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* for ST devices, the action only occurs when we do GetStatus */
|
||||
if (!dfu_device_has_quirk (priv->device, DFU_DEVICE_QUIRK_NO_GET_STATUS_UPLOAD)) {
|
||||
if (!dfu_target_check_status (target, cancellable, error))
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return g_bytes_new_take (buf, actual_length);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user