summaryrefslogtreecommitdiff
path: root/tests/session.c
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2017-07-22 19:54:59 +0200
committerStefan Brüns <stefan.bruens@rwth-aachen.de>2017-07-22 19:54:59 +0200
commitfc9d619c520c2b47b52ff71e30260ed9333f33f2 (patch)
treecd6904dc5c8ffb7f9f07f3ab8b23c638dab5a9df /tests/session.c
parent2071c4d3d8503b8ae9ccd623cec1163ec6732a91 (diff)
downloadlibsigrokdecode-fc9d619c520c2b47b52ff71e30260ed9333f33f2.tar.gz
libsigrokdecode-fc9d619c520c2b47b52ff71e30260ed9333f33f2.zip
usb_request: Handle CONTROL transfer protocol stalls
According to the USB 2.0 spec, 8.5.3.4, a protocol stall condition lasts until the next SETUP transfer. On reception of the SETUP, adjust the end sample accordingly, and flush the previous CONTROL transfer.
Diffstat (limited to 'tests/session.c')
0 files changed, 0 insertions, 0 deletions