Commit 3e8a556a authored by Alan Stern's avatar Alan Stern Committed by Greg Kroah-Hartman

[PATCH] Missing transfer_flags setting in usbtest

This patch (as582) adds a missing transfer_flags setting to the usbtest
driver.
Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent efa400db
...@@ -983,6 +983,7 @@ test_ctrl_queue (struct usbtest_dev *dev, struct usbtest_param *param) ...@@ -983,6 +983,7 @@ test_ctrl_queue (struct usbtest_dev *dev, struct usbtest_param *param)
reqp->number = i % NUM_SUBCASES; reqp->number = i % NUM_SUBCASES;
reqp->expected = expected; reqp->expected = expected;
u->setup_packet = (char *) &reqp->setup; u->setup_packet = (char *) &reqp->setup;
u->transfer_flags |= URB_NO_SETUP_DMA_MAP;
u->context = &context; u->context = &context;
u->complete = ctrl_complete; u->complete = ctrl_complete;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment