From: oharboe Date: Fri, 8 May 2009 09:37:25 +0000 (+0000) Subject: fix one gaffe in previous commit. X-Git-Tag: v0.2.0~834 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4df87471ca53417fdcbe3285db4b70d710414a24;p=openocd fix one gaffe in previous commit. git-svn-id: svn://svn.berlios.de/openocd/trunk@1671 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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);