aboutsummaryrefslogtreecommitdiff
path: root/hw/usb
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-03-31 17:14:23 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-04-26 12:21:17 +0200
commitb15cf49b78edb74dc783a7cacbc8391cbc728edc (patch)
tree8a19755146312713d04fb4f9dec825cc5a96bd54 /hw/usb
parenta0625c56e0db19029cb69e28859af56b2ae19f3f (diff)
downloadqemu-b15cf49b78edb74dc783a7cacbc8391cbc728edc.zip
qemu-b15cf49b78edb74dc783a7cacbc8391cbc728edc.tar.gz
qemu-b15cf49b78edb74dc783a7cacbc8391cbc728edc.tar.bz2
usb-redir: Not finding an async urb id is not an error
We clear our pending async urb list on device disconnect and we may still receive "packet complete" packets from our peer after this, which will then refer to packet ids no longer in our list. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r--hw/usb/redirect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
index b2576e8..51c27b4 100644
--- a/hw/usb/redirect.c
+++ b/hw/usb/redirect.c
@@ -277,7 +277,7 @@ static AsyncURB *async_find(USBRedirDevice *dev, uint32_t packet_id)
return aurb;
}
}
- ERROR("could not find async urb for packet_id %u\n", packet_id);
+ DPRINTF("could not find async urb for packet_id %u\n", packet_id);
return NULL;
}