ULINK driver: Properly propagate return values in ulink_execute_queue()

Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
This commit is contained in:
Martin Schmölzer 2011-07-04 12:30:13 +02:00 committed by Øyvind Harboe
parent 3633e8d7b8
commit b6f8b2ab66

View File

@ -1678,6 +1678,10 @@ static int ulink_execute_queue(void)
break;
}
if (ret != ERROR_OK) {
return ret;
}
cmd = cmd->next;
}