Skip to content
Snippets Groups Projects
Commit 0de53006 authored by oharboe's avatar oharboe
Browse files

added missing check on jtag_execute

git-svn-id: svn://svn.berlios.de/openocd/trunk@2630 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent c87357a3
No related branches found
No related tags found
No related merge requests found
......@@ -1064,7 +1064,10 @@ int jtag_validate_chain(void)
jtag_add_plain_ir_scan(1, &field, TAP_RESET);
jtag_execute_queue();
int retval;
retval = jtag_execute_queue();
if (retval != ERROR_OK)
return retval;
tap = NULL;
chain_pos = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment