usb-redir: Not finding an async urb id is not an error
authorHans de Goede <hdegoede@redhat.com>
Sat, 31 Mar 2012 15:14:23 +0000 (17:14 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 26 Apr 2012 10:21:17 +0000 (12:21 +0200)
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>
hw/usb/redirect.c

index b2576e86a63e4751a2c15ec8a73e58d44f1be660..51c27b4051705f1e5925cc93202604f55ffcdedc 100644 (file)
@@ -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;
 }