mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-15 02:24:47 +00:00
synaptics-rmi: Add a missing error enum value
This was spotted whilst fixing the last bug...
This commit is contained in:
parent
9baaacc099
commit
04fde48e9a
@ -633,5 +633,12 @@ fu_synaptics_rmi_v7_device_query_status (FuSynapticsRmiDevice *self, GError **er
|
|||||||
"transfer checksum failed");
|
"transfer checksum failed");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
if (status == 0x1f) {
|
||||||
|
g_set_error_literal (error,
|
||||||
|
FWUPD_ERROR,
|
||||||
|
FWUPD_ERROR_INVALID_FILE,
|
||||||
|
"flash hardware failure");
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user