stlink: add error status check
commit631b80fd0835055bb385314f569f589b99d7441d
authorMathias K <kesmtp@freenet.de>
Fri, 17 Feb 2012 12:41:27 +0000 (17 13:41 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 17 Feb 2012 14:04:36 +0000 (17 14:04 +0000)
treef595a6fa99c65f6a4033d80492d93476b0d32e41
parent445770c0817bfc9e104203e0ee8a47ccc1394e04
stlink: add error status check

This patch add the status check.

Change-Id: I0fdb9bf66dad5ae416c7aa4c6e19116f846571f9
Signed-off-by: Mathias K <kesmtp@freenet.de>
Reviewed-on: http://openocd.zylin.com/463
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/stlink_usb.c