[fprint] [PATCH] imgdev: add support for FP_IMGDRV_NEEDS_REACTIVATION_BETWEEN_ENROLLS flag

Marco Trevisan (TreviƱo) mail at 3v1n0.net
Fri Feb 16 14:23:24 UTC 2018


2018-02-16 14:38 GMT+01:00 Igor Filatov <ia.filatov at gmail.com>:
> Here's what I'm doing which isn't clean either
> https://github.com/iafilatov/libfprint/blob/elan/libfprint/drivers/elan.c#L525
> but allows to contain the ugliness to a small part of code. You actually
> don't need to deactivate manually until libfprint calls dev_deactivate. You
> only need to keep submitting images till dev_deactivate is called. How you
> do it is up to you. The only quirk is that you need to give libfprint a
> chance to do it asynchronously.

Yeah, that was my idea too... And the same happens for verify as there
are different ways of handling in different places, but that's
something I'd like to talk about in another thread.


More information about the fprint mailing list