vfs101: fix broken enrolling by prev commit to vfs101.c
This commit is contained in:
parent
ffef6c2bcc
commit
fc1781e317
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue