Commit 09852db6 authored by Bastien Nocera's avatar Bastien Nocera Committed by Daniel Drake
Browse files

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.
parent 35ae4dd0
......@@ -615,14 +615,15 @@ static void fprint_device_verify_start(FprintDevice *rdev,
return;
}
/* Emit VerifyFingerSelected telling the front-end which finger
* we selected for auth */
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);
}
/* Emit VerifyFingerSelected telling the front-end which finger
* we selected for auth */
g_signal_emit(rdev, signals[SIGNAL_VERIFY_FINGER_SELECTED], 0, finger_num);
if (r < 0) {
if (data != NULL) {
fp_print_data_free (data);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment