commit | 94b385fa236c85b00ee0bceced05aad2550c2208 | [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 | eca76b7429cedb600d724f6f1655bc43ede811a8 [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>