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.
This commit is contained in:
Benjamin Berg 2020-05-14 10:41:41 +02:00 committed by Benjamin Berg
parent b95402bc72
commit cecb01bcb9

View file

@ -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);
}