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.
This commit is contained in:
Bastien Nocera 2018-11-29 17:18:16 +01:00
parent ce1a675dd5
commit eae5721f8e

View file

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