From f546fa2555ee180f4fef9a4bb2cf3a8f15edaa35 Mon Sep 17 00:00:00 2001 From: Daniel Drake Date: Mon, 10 Mar 2008 13:33:32 +0000 Subject: [PATCH] Fix synchronous enrollment for multi-stage devices --- libfprint/sync.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libfprint/sync.c b/libfprint/sync.c index d636edd..440b725 100644 --- a/libfprint/sync.c +++ b/libfprint/sync.c @@ -263,6 +263,9 @@ API_EXPORTED int fp_enroll_finger_img(struct fp_dev *dev, break; } + if (!final) + return r; + out: if (final) { fp_dbg("ending enrollment");