Blame 0146-usb-redir-Not-finding-an-async-urb-id-is-not-an-erro.patch

Hans de Goede 0fa3e5
From b467871a6a08b8ff12382e33e49f991fe02f3cc7 Mon Sep 17 00:00:00 2001
Hans de Goede 0fa3e5
From: Hans de Goede <hdegoede@redhat.com>
Hans de Goede 0fa3e5
Date: Sat, 31 Mar 2012 13:17:13 +0200
Hans de Goede 0fa3e5
Subject: [PATCH 146/146] usb-redir: Not finding an async urb id is not an
Hans de Goede 0fa3e5
 error
Hans de Goede 0fa3e5
Hans de Goede 0fa3e5
We clear our pending async urb list on device disconnect and we may still
Hans de Goede 0fa3e5
receive "packet complete" packets from our peer after this, which will then
Hans de Goede 0fa3e5
refer to packet ids no longer in our list.
Hans de Goede 0fa3e5
Hans de Goede 0fa3e5
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede 0fa3e5
---
Hans de Goede 0fa3e5
 usb-redir.c |    2 +-
Hans de Goede 0fa3e5
 1 file changed, 1 insertion(+), 1 deletion(-)
Hans de Goede 0fa3e5
Hans de Goede 0fa3e5
diff --git a/usb-redir.c b/usb-redir.c
Hans de Goede 0fa3e5
index 1a9d766..a41c231 100644
Hans de Goede 0fa3e5
--- a/usb-redir.c
Hans de Goede 0fa3e5
+++ b/usb-redir.c
Hans de Goede 0fa3e5
@@ -286,7 +286,7 @@ static AsyncURB *async_find(USBRedirDevice *dev, uint32_t packet_id)
Hans de Goede 0fa3e5
             return aurb;
Hans de Goede 0fa3e5
         }
Hans de Goede 0fa3e5
     }
Hans de Goede 0fa3e5
-    ERROR("could not find async urb for packet_id %u\n", packet_id);
Hans de Goede 0fa3e5
+    DPRINTF("could not find async urb for packet_id %u\n", packet_id);
Hans de Goede 0fa3e5
     return NULL;
Hans de Goede 0fa3e5
 }
Hans de Goede 0fa3e5
 
Hans de Goede 0fa3e5
-- 
Hans de Goede 0fa3e5
1.7.9.3
Hans de Goede 0fa3e5