commit | 4a126b668b3b89bbbd9d311a25005cc42726c660 | [log] [tgz] |
---|---|---|
author | Paul Kocialkowski <contact@paulk.fr> | Sat Jul 04 16:46:15 2015 +0200 |
committer | Marek Vasut <marex@denx.de> | Wed Jul 22 08:57:54 2015 +0200 |
tree | 07dfb83729084c10242afed65d681ce03eb46dbf | |
parent | 6b9f72803c3777b77e623c1b464ab88320c63588 [diff] |
usb: gadget: fastboot: Request status and length check in rx handler This avoids handling requests that have an error status or no data. In particular, this avoids showing unnecessary error messages when the USB gadget gets disconnected (e.g. with fastboot continue) and the fastboot USB gadget driver sends an error back to the host (that has disconnected already). Signed-off-by: Paul Kocialkowski <contact@paulk.fr>