render / rpms / qemu

Forked from rpms/qemu 10 months ago
Clone

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

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