trivial: Get rid of warning in dmesg when downloading firmware

This commit is contained in:
Richard Hughes 2015-11-16 13:02:18 +00:00
parent 859fe0b43e
commit a11d6efc58

View File

@ -800,6 +800,9 @@ dfu_device_download (DfuDevice *device,
return FALSE;
if (flags & DFU_TARGET_TRANSFER_FLAG_VERIFY)
flags_local = DFU_TARGET_TRANSFER_FLAG_VERIFY;
if (!dfu_target_open (target_tmp, DFU_TARGET_OPEN_FLAG_NONE,
cancellable, error))
return FALSE;
if (!dfu_target_download (target_tmp,
image,
flags_local,