Clean up the way empty transfers are sent in error cases.
commitadf1de8f720b4a54f600ea43d4b91f79d5e68352
authorgevaerts <gevaerts@a1c6a512-1295-4272-9138-f99709370657>
Tue, 1 Apr 2008 20:36:51 +0000 (1 20:36 +0000)
committergevaerts <gevaerts@a1c6a512-1295-4272-9138-f99709370657>
Tue, 1 Apr 2008 20:36:51 +0000 (1 20:36 +0000)
treeb98a38a3fc1569531e2a0995558c8f8afea6bad9
parentde04381e484f1d423c56bdddb631f35549f29bca
Clean up the way empty transfers are sent in error cases.
correctly zero out all data that gets sent to the host
I'm just committing this. The actual work was done by Martin Ritter (thanks)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16922 a1c6a512-1295-4272-9138-f99709370657
firmware/usbstack/usb_storage.c