Skip to content

Commit

Permalink
elan: Better debug when skipping commands
Browse files Browse the repository at this point in the history
  • Loading branch information
hadess committed Aug 8, 2019
1 parent 50461b4 commit 0e44eb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libfprint/drivers/elan.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,8 @@ elan_run_cmd(fpi_ssm *ssm,
elandev->cmd_timeout = cmd_timeout;

if (cmd->devices != ELAN_ALL_DEV && !(cmd->devices & elandev->dev_type)) {
fp_dbg("skipping for this device");
fp_dbg("skipping command 0x%x 0x%x for this device (for devices 0x%x but device is 0x%x)",
cmd->cmd[0], cmd->cmd[1], cmd->devices, elandev->dev_type);
elan_cmd_done(ssm);
return;
}
Expand Down

0 comments on commit 0e44eb4

Please sign in to comment.