From cecb01bcb94748455cf098d5aa5978f088d635cb Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Thu, 14 May 2020 10:41:41 +0200 Subject: [PATCH] upekts: Set the print type during enroll The type of the print (RAW or NBIS) needs to be filled in by the driver. For most drivers the image devices does this (NBIS), but the corresponding call was missing in the upekts driver, rendering the enrolled print unusable. --- libfprint/drivers/upekts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libfprint/drivers/upekts.c b/libfprint/drivers/upekts.c index 398a442..c7c42f7 100644 --- a/libfprint/drivers/upekts.c +++ b/libfprint/drivers/upekts.c @@ -1118,6 +1118,7 @@ e_handle_resp02 (FpDevice *dev, unsigned char *data, data_len - sizeof (scan_comp), 1); + fpi_print_set_type (print, FPI_PRINT_RAW); g_object_set (print, "fpi-data", fp_data, NULL); g_object_ref (print); }