mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
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:
committed by
Marco Trevisan
parent
b9e546f05b
commit
4d6a7ec09d
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user