synaptics: Report a verify complete error on unexpected result
Also remove the unneeded verify report with match failure
This commit is contained in:
parent
8be861b876
commit
7a7bec5a80
1 changed files with 4 additions and 2 deletions
|
@ -632,8 +632,10 @@ verify_msg_cb (FpiDeviceSynaptics *self,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fp_warn ("Verify has failed: %d", resp->result);
|
fp_warn ("Verify has failed: %d", resp->result);
|
||||||
fpi_device_verify_report (device, FPI_MATCH_FAIL, NULL, NULL);
|
fpi_device_verify_complete (device,
|
||||||
fpi_device_verify_complete (device, NULL);
|
fpi_device_error_new_msg (FP_DEVICE_ERROR_PROTO,
|
||||||
|
"Unexpected result from device %d",
|
||||||
|
resp->result));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue