mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
vfs101: fix broken enrolling by prev commit to vfs101.c
This commit is contained in:
committed by
Vasily Khoruzhick
parent
ffef6c2bcc
commit
fc1781e317
@@ -653,7 +653,7 @@ static int action_completed(struct fp_img_dev *dev)
|
||||
struct vfs101_dev *vdev = dev->priv;
|
||||
|
||||
if ((dev->action == IMG_ACTION_ENROLL) &&
|
||||
(vdev->enroll_stage < 1))
|
||||
(vdev->enroll_stage < dev->dev->nr_enroll_stages))
|
||||
/* Enroll not completed, return false */
|
||||
return FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user