Patchwork hw/usb/redirect.c: add missing parameter to usb_wakeup()

login
register
mail settings
Submitter Eduardo Habkost
Date Feb. 21, 2013, 6:16 p.m.
Message ID <1361470586-3082-1-git-send-email-ehabkost@redhat.com>
Download mbox | patch
Permalink /patch/222390/
State New
Headers show

Comments

Eduardo Habkost - Feb. 21, 2013, 6:16 p.m.
commit 8550a02d1239415342959f6a32d178bc05c557cc broke the build because
the usb_wakeup() call wasn't changed to include the new 'stream'
parameter.

This changes the call to pass 0 as the 'stream' parameter.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 hw/usb/redirect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
index 7078403..c519b9b 100644
--- a/hw/usb/redirect.c
+++ b/hw/usb/redirect.c
@@ -1897,7 +1897,7 @@  static void usbredir_interrupt_packet(void *priv, uint64_t id,
         }
 
         if (QTAILQ_EMPTY(&dev->endpoint[EP2I(ep)].bufpq)) {
-            usb_wakeup(usb_ep_get(&dev->dev, USB_TOKEN_IN, ep & 0x0f));
+            usb_wakeup(usb_ep_get(&dev->dev, USB_TOKEN_IN, ep & 0x0f), 0);
         }
 
         /* bufp_alloc also adds the packet to the ep queue */