Merge branch 'next/drivers' into HEAD
[deliverable/linux.git] / drivers / usb / gadget / f_sourcesink.c
index 5c1b68b63c98da1e2182e74a8c92d3b3874fbdb1..3c126fde6e7e7131168c47805a32f94379b68fcc 100644 (file)
@@ -795,7 +795,7 @@ static int sourcesink_setup(struct usb_configuration *c,
        u16                     w_value = le16_to_cpu(ctrl->wValue);
        u16                     w_length = le16_to_cpu(ctrl->wLength);
 
-       req->length = USB_BUFSIZ;
+       req->length = USB_COMP_EP0_BUFSIZ;
 
        /* composite driver infrastructure handles everything except
         * the two control test requests.
This page took 0.042198 seconds and 5 git commands to generate.