From fa522907e9585419b8319b87d4382dc024347b6c Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 12 Oct 2016 20:30:36 +0100 Subject: [PATCH] libdfu: Do not do GetStatus on dfuse upload --- libdfu/dfu-target.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libdfu/dfu-target.c b/libdfu/dfu-target.c index 8027a71d7..db3e439a0 100644 --- a/libdfu/dfu-target.c +++ b/libdfu/dfu-target.c @@ -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); }