forked from luck/tmp_suning_uos_patched
[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 <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
efa400db53
commit
3e8a556a02
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user