From 0e44eb4c1c371a8c15504e18c53b2b8d5397fd7d Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 8 Aug 2019 13:31:37 +0200 Subject: [PATCH] elan: Better debug when skipping commands --- libfprint/drivers/elan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libfprint/drivers/elan.c b/libfprint/drivers/elan.c index 897f34f..e9dad43 100644 --- a/libfprint/drivers/elan.c +++ b/libfprint/drivers/elan.c @@ -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; }