diff mbox

[3/3] usb-redir: Not finding an async urb id is not an error

Message ID 1333206863-11425-3-git-send-email-hdegoede@redhat.com
State New
Headers show

Commit Message

Hans de Goede March 31, 2012, 3:14 p.m. UTC
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>
---
 hw/usb/redirect.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
index 11d3b2b..b872626 100644
--- a/hw/usb/redirect.c
+++ b/hw/usb/redirect.c
@@ -276,7 +276,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;
 }