aboutsummaryrefslogtreecommitdiff
path: root/hw/eeprom93xx.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-12-09 23:31:49 +0100
committerGerd Hoffmann <kraxel@redhat.com>2011-01-11 17:15:24 +0100
commitfa7935c1e1f84b600fcb1983485352b8d99e01d3 (patch)
tree3bd65021279bbdbf1827a5ea3869a875418db396 /hw/eeprom93xx.h
parentab4797ad2ec34e63ee8751fbd3e5d0a9888eaf4a (diff)
usb storage: handle long responses
The scsi layer may return us more data than the guests wants to have. Handle this by just ignoring the extra bytes and calling the {read,write}_data callback to finish the request. Seen happening in real life with some extended inquiry command. With this patch applied the linux kernel stops reseting the device once at boot. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/eeprom93xx.h')
0 files changed, 0 insertions, 0 deletions