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.
This commit is contained in:
Benjamin Berg 2020-05-15 18:27:34 +02:00 committed by Benjamin Berg
parent 4f0b0fa526
commit b7f436e8de

View file

@ -1293,7 +1293,7 @@ verify_start_sm_run_state (FpiSsm *ssm, FpDevice *dev)
case VERIFY_INIT: case VERIFY_INIT:
fpi_device_get_verify_data (dev, &print); 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); data = g_variant_get_fixed_array (fp_data, &data_len, 1);