mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-05-17 18:28:09 +02:00
The VERIFY_WAIT_MATCH_INT state only advanced the SSM on interrupt types 3 (match) or 5 (no-match), looping back to read_again for any other type. However, the sensor only sends a single interrupt after match_finger (cmd 0x5E). If the interrupt type is anything other than 3 or 5, the driver waited forever for another interrupt that never arrives, causing fprintd-verify to hang. python-validity's reference implementation treats any interrupt type != 3 as 'finger not recognized' and skips cmd 0x60 (get_match_result), going straight to cleanup (cmd 0x62). Fix: on interrupt type 3 (match), advance to VERIFY_GET_RESULT as before. On any other type, clear stale result data and jump directly to VERIFY_CLEANUP, skipping the unnecessary cmd 0x60.
4 lines
No EOL
28 B
Text
4 lines
No EOL
28 B
Text
*.o
|
|
*.swp
|
|
_build
|
|
__pycache__ |