fastboot: add operation delay quirk for Quectel EG25-G

This commit is contained in:
Dylan Van Assche 2021-12-11 16:48:20 +01:00 committed by Richard Hughes
parent e6121ae3c7
commit 12282ca6bc
2 changed files with 1 additions and 6 deletions

View File

@ -5,3 +5,4 @@ Plugin = fastboot
# Quectel EG25-G modem
[USB\VID_18D1&PID_D00D]
FastbootBlockSize = 16384
FastbootOperationDelay = 100

View File

@ -708,12 +708,6 @@ fu_fastboot_device_set_quirk_kv(FuDevice *device,
self->blocksz = tmp;
return TRUE;
}
if (g_strcmp0(key, "FastbootBlockSize") == 0) {
if (!fu_common_strtoull_full(value, &tmp, 0x40, 0x100000, error))
return FALSE;
self->blocksz = tmp;
return TRUE;
}
if (g_strcmp0(key, "FastbootOperationDelay") == 0) {
if (!fu_common_strtoull_full(value, &tmp, 0, G_MAXSIZE, error))
return FALSE;