[PATCH] Missing transfer_flags setting in usbtest
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 18 Oct 2005 14:08:31 +0000 (10:08 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 23:47:45 +0000 (16:47 -0700)
This patch (as582) adds a missing transfer_flags setting to the usbtest
driver.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/usbtest.c

index d055196533afbd106d4f658b7c8d82749ff1eef6..90a96257d6ce920423ceeac5fd6a57c5f6968d2a 100644 (file)
@@ -983,6 +983,7 @@ test_ctrl_queue (struct usbtest_dev *dev, struct usbtest_param *param)
                reqp->number = i % NUM_SUBCASES;
                reqp->expected = expected;
                u->setup_packet = (char *) &reqp->setup;
+               u->transfer_flags |= URB_NO_SETUP_DMA_MAP;
 
                u->context = &context;
                u->complete = ctrl_complete;