From b7f436e8de9f7ea94afcade95d941862d878ec56 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Fri, 15 May 2020 18:27:34 +0200 Subject: [PATCH] upekts: Fix reading of fingerprint data for verification the code tried to fetch the data from the device rather the print. Obviously, this could never work. --- libfprint/drivers/upekts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfprint/drivers/upekts.c b/libfprint/drivers/upekts.c index c7c42f7..b6dd0a8 100644 --- a/libfprint/drivers/upekts.c +++ b/libfprint/drivers/upekts.c @@ -1293,7 +1293,7 @@ verify_start_sm_run_state (FpiSsm *ssm, FpDevice *dev) case VERIFY_INIT: fpi_device_get_verify_data (dev, &print); - g_object_get (dev, "fpi-data", &fp_data, NULL); + g_object_get (print, "fpi-data", &fp_data, NULL); data = g_variant_get_fixed_array (fp_data, &data_len, 1);