mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
elanmoc: Return the correct error when the storage is full
This commit is contained in:
@@ -331,7 +331,8 @@ elanmoc_reenroll_cb (FpiDeviceElanmoc *self,
|
||||
if ((self->curr_enrolled == (ELAN_MAX_ENROLL_NUM + 1)) && (buffer_in[1] == 0x00))
|
||||
{
|
||||
fp_warn ("elanmoc_reenroll_cb over enroll max");
|
||||
fpi_ssm_mark_completed (self->task_ssm);
|
||||
fpi_ssm_mark_failed (self->task_ssm,
|
||||
fpi_device_error_new (FP_DEVICE_ERROR_DATA_FULL));
|
||||
return;
|
||||
}
|
||||
if (buffer_in[1] == 0x00)
|
||||
|
||||
Reference in New Issue
Block a user