From: Andreas Fritiofson Date: Thu, 23 Aug 2012 21:28:10 +0000 (+0200) Subject: mpsse: check available buffer space even for discarded data scans X-Git-Tag: v0.6.0-rc2~6 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=d9a02fda075c466dd4a37785d886a4b1ee382242;hp=d9a02fda075c466dd4a37785d886a4b1ee382242 mpsse: check available buffer space even for discarded data scans When there's no data to scan in or out, we still use the clock data out command and fill the buffer with zeroes, so make sure the buffer is checked for available space. Change-Id: Ia6005c40c81f7fdb89379f1b5023fe383184d210 Signed-off-by: Andreas Fritiofson Reviewed-on: http://openocd.zylin.com/793 Reviewed-by: Spencer Oliver Tested-by: jenkins Reviewed-by: Freddie Chopin ---