diff options
author | 2016-05-18 18:28:58 +0000 | |
---|---|---|
committer | 2016-05-18 18:28:58 +0000 | |
commit | 2261702e3e2071d9ebf81d37fead1cc3f6b7f5be (patch) | |
tree | d521e1a1cf935ff78975b372d18845939f2a4018 /usr.bin/sendbug/sendbug.c | |
parent | update links; from ray (diff) | |
download | wireguard-openbsd-2261702e3e2071d9ebf81d37fead1cc3f6b7f5be.tar.xz wireguard-openbsd-2261702e3e2071d9ebf81d37fead1cc3f6b7f5be.zip |
Cache vendor, product and serial info for each usb device. This allows
ioctl(USB_DEVICEINFO) not to issue any further requests to gather
information. Thus reducing stress on connected usb devices.
This fixes an issue where usbdevs called in a loop causes a USB mass
storage device to halt operation.
Adapted from a similar commit in NetBSD.
ok mpi@
Diffstat (limited to 'usr.bin/sendbug/sendbug.c')
0 files changed, 0 insertions, 0 deletions