From: Alan Stern Date: Tue, 18 Oct 2005 14:08:31 +0000 (-0400) Subject: [PATCH] Missing transfer_flags setting in usbtest X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3e8a556a02d5aa16375d4d74aad0f67cd844c047;p=openwrt%2Fstaging%2Fblogic.git [PATCH] Missing transfer_flags setting in usbtest This patch (as582) adds a missing transfer_flags setting to the usbtest driver. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c index d055196533af..90a96257d6ce 100644 --- a/drivers/usb/misc/usbtest.c +++ b/drivers/usb/misc/usbtest.c @@ -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;