summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2019-06-24 06:45:07 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2019-06-24 06:45:07 +0000
commit2c0e15102f15cc7f6ce7e29572cdc7a5c1685a98 (patch)
tree910931bfad42ed9d559357ade4cecd47e4949334 /usr.bin
parent5d45fc544b533d1c5deb531e20be61e1e3aec6e2 (diff)
Don't retry to get the usb descriptor in usbd_new_device() if the call
timed out. If usbd_get_desc() returns USBD_TIMEOUT the chance is high that the next call will do the same and it slows down attachement of devices a lot. Makes reattaching USB at resume a lot faster with my umb(4) card (which likes to time out). "move fast and fix things" deraadt@
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions