From b6f8b2ab669d070d6a4b82b36c4b0787bf162112 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Schm=C3=B6lzer?= Date: Mon, 4 Jul 2011 12:30:13 +0200 Subject: [PATCH] ULINK driver: Properly propagate return values in ulink_execute_queue() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Schmölzer --- src/jtag/drivers/ulink.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.39.5