zy1000: fix JTAG over TCP/IP performance problem
commit2321bb3c42b1d47374e51d9e5aa548a37a70b53a
authorØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 3 Mar 2011 08:22:25 +0000 (3 09:22 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 15 Mar 2011 09:36:16 +0000 (15 10:36 +0100)
treece4dab3a7743bdad9bf7e16dc351847f05cc8aba
parent4da640563b95939cd3fe9275053ba3181de723c4
zy1000: fix JTAG over TCP/IP performance problem

only flush write queue just before waiting for more data,
rather than when fetching more data from the buffer.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/jtag/zy1000/zy1000.c