summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-11-06 12:58:01 +0000
committermpi <mpi@openbsd.org>2016-11-06 12:58:01 +0000
commitf4b7d08e232976fb177608012240d131217a6102 (patch)
treeaff6e90cb18c7ac218cb32f6dabc1967faff840c /lib
parentRemove unused fields from ffs_opt_t. (diff)
downloadwireguard-openbsd-f4b7d08e232976fb177608012240d131217a6102.tar.xz
wireguard-openbsd-f4b7d08e232976fb177608012240d131217a6102.zip
Avoid calling usbd_set_config_no() in *_attach() and let the stack do
it instead. If anything bad happen due to a malformed descriptor it makes no sense to try to attach a driver, and bail before probing. This is similar to the change to avoid calling usbd_set_config_index().
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions