Only detach the USB device you disconnected, fix a regression reported
authormpi <mpi@openbsd.org>
Sat, 12 Jul 2014 07:11:17 +0000 (07:11 +0000)
committermpi <mpi@openbsd.org>
Sat, 12 Jul 2014 07:11:17 +0000 (07:11 +0000)
commit806fffbd7a4e408702ecfbd2300bcdddce35ac3f
tree895741950775072de985909094f31b875ffaa263
parentcc2b7b334720873fb6af9419a37a33a4085e4012
Only detach the USB device you disconnected, fix a regression reported
by guenther@.

While here set the dying flag of the disconnected device so that most of
the DVACT_ACTIVATE handlers can go.
sys/dev/usb/usb_subr.c