]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/core/generic.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6
[linux-2.6-omap-h63xx.git] / drivers / usb / core / generic.c
index b531a4fd30c228b47fda66611fa304c75657eea2..9bbcb20e2d94c3bf5ca96f77d0c1050d87d14eb2 100644 (file)
@@ -184,7 +184,7 @@ static void generic_disconnect(struct usb_device *udev)
        /* if this is only an unbind, not a physical disconnect, then
         * unconfigure the device */
        if (udev->actconfig)
-               usb_set_configuration(udev, 0);
+               usb_set_configuration(udev, -1);
 
        usb_remove_sysfs_dev_files(udev);
 }