diff options
author | ftrvxmtrx <devnull@localhost> | 2014-04-23 23:45:00 +0200 |
---|---|---|
committer | ftrvxmtrx <devnull@localhost> | 2014-04-23 23:45:00 +0200 |
commit | 2ef8c9ed41e696b2d7d2a8fa84ae682393e4d127 (patch) | |
tree | 3d545e99004fb2bc456fe5bcdda6568d596972d5 /sys/src/9/boot | |
parent | 99c0abc76db4e534a6e2dd76ef57c37f297bf735 (diff) |
nusb: workaround for endpoints with same index but different types
nusb code assumes endpoint numbers are unique. It's true in general
case, but it becomes false once the direction bit is ignored. The
commit adds a check so that two endpoints of different types are not
merged into one with Eboth direction. It does overwrite endpoint
though, so it shouldn't be considered as a full fix.
Diffstat (limited to 'sys/src/9/boot')
0 files changed, 0 insertions, 0 deletions