Skip to content
Snippets Groups Projects
Commit 1b4b29a1 authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

usb: add shortcut for control transfers


Add a more direct code path to submit control transfers.  Instead of
feeding three usb packets (setup, data, ack) to usb_handle_packet and
have the do_token_* functions in usb.c poke the control transfer
parameters out of it just submit a single packet carrying the actual
data with the control xfer parameters filled into USBPacket->parameters.

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 9424d4e7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment