]> git.sur5r.net Git - openocd/commitdiff
fix one gaffe in previous commit.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 8 May 2009 09:37:25 +0000 (09:37 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 8 May 2009 09:37:25 +0000 (09:37 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1671 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/jtag.c

index e02b91f088d5d6a818232c7e2cc3a9de8ec2a1be..28b648bf75ba33bd2b997570cbf70fed55397f24 100644 (file)
@@ -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);