diff options
author | Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at> | 2011-07-04 12:30:13 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-08-31 16:25:41 +0200 |
commit | b6f8b2ab669d070d6a4b82b36c4b0787bf162112 (patch) | |
tree | ba64c6d182dd81b13d55b7b1bc05b7cb6ab5d5d5 | |
parent | 3633e8d7b8b88d58cfc5989a330dfbaa6b66fad4 (diff) |
ULINK driver: Properly propagate return values in ulink_execute_queue()
Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
-rw-r--r-- | src/jtag/drivers/ulink.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jtag/drivers/ulink.c b/src/jtag/drivers/ulink.c index f8103942..d7e16b53 100644 --- a/src/jtag/drivers/ulink.c +++ b/src/jtag/drivers/ulink.c @@ -1678,6 +1678,10 @@ static int ulink_execute_queue(void) break; } + if (ret != ERROR_OK) { + return ret; + } + cmd = cmd->next; } |