libfprint/SOURCES/0117-fp-device-Call-identify-device-class-method-on-ident.patch
2021-09-09 20:12:38 +00:00

31 lines
943 B
Diff

From 63d7df4e804a7642b6fd407e37e2187d1e3e197d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
Date: Fri, 6 Dec 2019 17:18:26 +0100
Subject: [PATCH 117/181] fp-device: Call identify device class method on
identification
Identify on device was broken because we were calling verify device method
on devices instead of the right one.
Thank you unit tests! :)
---
libfprint/fp-device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libfprint/fp-device.c b/libfprint/fp-device.c
index c49e5a9..3ac3a1c 100644
--- a/libfprint/fp-device.c
+++ b/libfprint/fp-device.c
@@ -923,7 +923,7 @@ fp_device_identify (FpDevice *device,
g_ptr_array_ref (prints),
(GDestroyNotify) g_ptr_array_unref);
- FP_DEVICE_GET_CLASS (device)->verify (device);
+ FP_DEVICE_GET_CLASS (device)->identify (device);
}
/**
--
2.24.1