USB: repair USBDEVFS_CONNECT ioctl
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 3 Dec 2007 20:42:10 +0000 (15:42 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:53 +0000 (14:34 -0800)
commit885e97478bf95b46a7cff40df49c2bb1a5503afd
treeddb8bc5e8a7ace8971cf4a472bb9b3a100db7c73
parentbadef819229d455493ba97253dd0e4097b995624
USB: repair USBDEVFS_CONNECT ioctl

For as long as I've known about it, the USBDEVFS_CONNECT ioctl hasn't
done what it's supposed to.  The current code reprobes _all_ the
unbound USB interfaces; this patch (as1021) makes it reprobe only the
interface for which it was called.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/devio.c