goodixmoc: Change error message for corrupted headers

Otherwise you can't tell from the log whether parsing the body or header
failed.
This commit is contained in:
Benjamin Berg
2022-01-28 17:29:53 +01:00
parent 038c7108a6
commit ae5696a9bb

View File

@@ -159,7 +159,7 @@ fp_cmd_receive_cb (FpiUsbTransfer *transfer,
{ {
fpi_ssm_mark_failed (transfer->ssm, fpi_ssm_mark_failed (transfer->ssm,
fpi_device_error_new_msg (FP_DEVICE_ERROR_PROTO, fpi_device_error_new_msg (FP_DEVICE_ERROR_PROTO,
"Corrupted message received")); "Corrupted message header received"));
return; return;
} }