synaptics: Really check if a print is device database
Fix a typo causing the not-in-database print error to be fired, actually checking the response result.
This commit is contained in:
parent
b9e546f05b
commit
4d6a7ec09d
1 changed files with 1 additions and 1 deletions
|
@ -631,7 +631,7 @@ verify_msg_cb (FpiDeviceSynaptics *self,
|
|||
self->cmd_complete_data = GINT_TO_POINTER (FPI_MATCH_FAIL);
|
||||
self->cmd_complete_error = NULL;
|
||||
}
|
||||
else if (BMKT_FP_DATABASE_NO_RECORD_EXISTS)
|
||||
else if (resp->result == BMKT_FP_DATABASE_NO_RECORD_EXISTS)
|
||||
{
|
||||
fp_info ("Print is not in database");
|
||||
fpi_device_verify_complete (device,
|
||||
|
|
Loading…
Reference in a new issue