mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
Always emit VerifyFingerSelected
If the finger passed for verification is -1, always emit the VerifyFingerSelected signal, as the front-end isn't to know whether we're using identification or verification.
This commit is contained in:
committed by
Daniel Drake
parent
35ae4dd071
commit
09852db6ee
@ -615,13 +615,14 @@ static void fprint_device_verify_start(FprintDevice *rdev,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* FIXME fp_async_verify_start should copy the fp_print_data */
|
||||||
|
r = fp_async_verify_start(priv->dev, data, verify_cb, rdev);
|
||||||
|
}
|
||||||
|
|
||||||
/* Emit VerifyFingerSelected telling the front-end which finger
|
/* Emit VerifyFingerSelected telling the front-end which finger
|
||||||
* we selected for auth */
|
* we selected for auth */
|
||||||
g_signal_emit(rdev, signals[SIGNAL_VERIFY_FINGER_SELECTED], 0, finger_num);
|
g_signal_emit(rdev, signals[SIGNAL_VERIFY_FINGER_SELECTED], 0, finger_num);
|
||||||
|
|
||||||
/* FIXME fp_async_verify_start should copy the fp_print_data */
|
|
||||||
r = fp_async_verify_start(priv->dev, data, verify_cb, rdev);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
if (data != NULL) {
|
if (data != NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user