]> Git Repo - qemu.git/blobdiff - hw/usb.h
usb: Pass the packet to the device's handle_control callback
[qemu.git] / hw / usb.h
index e0961ac13503ebf045f8e95200cb8837364f2c42..b52fa34e84a8fabb79ce484f9b4a45291bd46eb7 100644 (file)
--- a/hw/usb.h
+++ b/hw/usb.h
@@ -214,7 +214,7 @@ struct USBDeviceInfo {
      *
      * Returns length or one of the USB_RET_ codes.
      */
-    int (*handle_control)(USBDevice *dev, int request, int value,
+    int (*handle_control)(USBDevice *dev, USBPacket *p, int request, int value,
                           int index, int length, uint8_t *data);
 
     /*
This page took 0.024568 seconds and 4 git commands to generate.