vli: Show erase progress when doing a v2 recovery

This commit is contained in:
Richard Hughes 2020-02-11 13:23:37 +00:00
parent 60373e03fd
commit 2b108e4ab1

View File

@ -751,6 +751,7 @@ fu_vli_usbhub_device_update_v2_recovery (FuVliUsbhubDevice *self, GBytes *fw, GE
g_prefix_error (error, "failed to erase sector @0x%x", addr); g_prefix_error (error, "failed to erase sector @0x%x", addr);
return FALSE; return FALSE;
} }
fu_device_set_progress_full (FU_DEVICE (self), (gsize) addr, bufsz);
} }
/* write in chunks */ /* write in chunks */