summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jtag/jtag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c
index e02b91f0..28b648bf 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -1391,7 +1391,7 @@ int jtag_check_value_inner(u8 *captured, scan_field_t *field, u8 *in_check_value
int compare_failed = 0;
- if (field->in_check_mask)
+ if (in_check_mask)
compare_failed = buf_cmp_mask(captured, in_check_value, in_check_mask, num_bits);
else
compare_failed = buf_cmp(captured, in_check_value, num_bits);