ignore write data if the length doesn't match what we expect. This avoids the data...
commitc3e5a7cc5bf8a3403dc21724b468c720e6b849b6
authorgevaerts <gevaerts@a1c6a512-1295-4272-9138-f99709370657>
Fri, 26 Jun 2009 15:14:49 +0000 (26 15:14 +0000)
committergevaerts <gevaerts@a1c6a512-1295-4272-9138-f99709370657>
Fri, 26 Jun 2009 15:14:49 +0000 (26 15:14 +0000)
treea14580864df0db26af513f6a570c6e931c70574c
parent523a6a3c580c6e4f1402b087b38e0574274fea0d
ignore write data if the length doesn't match what we expect. This avoids the data corruption caused by FS#10319, but doesn't solve the root cause yet (patch by Martin Ritter)

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