Commit eae5721f authored by Bastien Nocera's avatar Bastien Nocera

vfs101: Add FIXME about fpi_imgdev_set_action_result usage

We shouldn't need to use fpi_imgdev_set_action_result(), because
as fpi_imgdev_image_captured() is already there.
parent ce1a675d
......@@ -767,6 +767,11 @@ img_extract(fpi_ssm *ssm,
/* Notify image captured */
fpi_imgdev_image_captured(dev, img);
/* FIXME
* What is this for? The action result, and the enroll stages should
* already be handled in fpi_imgdev_image_captured()
*/
/* Check captured result */
if (fpi_imgdev_get_action_result(dev) >= 0 &&
fpi_imgdev_get_action_result(dev) != FP_ENROLL_RETRY &&
......
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