diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-05-07 09:19:53 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-05-07 09:19:53 +0200 |
commit | 3a4a3faf291b21624a4521fe1e22aec5bec7843d (patch) | |
tree | 36a6d81c497d510db350d0e94cabacab32b75a0a /sys/lib/python/timeit.py | |
parent | ceed9b8853ab7b10e5a9e39704e712bfce53ce8a (diff) |
nusb/usbd: work around devices that ignore the high byte of wLength in control transfer reads
there appear to be devices out there such as Realtek RTL2838UHIDIR
SDR that do not process control transfers correctly, ignoring the
high byte of the wLength field. to work around this, we specify an
odd number of bytes for read sizes >= 256 which keeps the low byte
0xFF.
Diffstat (limited to 'sys/lib/python/timeit.py')
0 files changed, 0 insertions, 0 deletions