patch-2.4.0-test8 linux/drivers/usb/hub.c

Next file: linux/drivers/usb/ibmcam.c
Previous file: linux/drivers/usb/dsbr100.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test7/linux/drivers/usb/hub.c linux/drivers/usb/hub.c
@@ -758,6 +758,7 @@
 		ret = usb_get_configuration(dev);
 		if (ret < 0) {
 			err("unable to get configuration (error=%d)", ret);
+			usb_destroy_configuration(dev);
 			clear_bit(dev->devnum, &dev->bus->devmap.devicemap);
 			dev->devnum = -1;
 			return 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)