summaryrefslogtreecommitdiff
path: root/lib/map
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-05-07 09:19:53 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-05-07 09:19:53 +0200
commit3a4a3faf291b21624a4521fe1e22aec5bec7843d (patch)
tree36a6d81c497d510db350d0e94cabacab32b75a0a /lib/map
parentceed9b8853ab7b10e5a9e39704e712bfce53ce8a (diff)
downloadplan9front-3a4a3faf291b21624a4521fe1e22aec5bec7843d.tar.xz
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 'lib/map')
0 files changed, 0 insertions, 0 deletions