peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

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

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