vfs101: fix broken enrolling by prev commit to vfs101.c

This commit is contained in:
Volkau Siarhei 2014-11-01 15:46:52 +03:00 committed by Vasily Khoruzhick
parent ffef6c2bcc
commit fc1781e317

View file

@ -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;