synaptics-rmi: Add a missing error enum value

This was spotted whilst fixing the last bug...
This commit is contained in:
Richard Hughes 2020-02-07 13:42:07 +00:00
parent 9baaacc099
commit 04fde48e9a

View File

@ -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;
} }