--- 1.99/drivers/usb/core/hub.c Mon Apr 21 10:47:47 2003 +++ edited/drivers/usb/core/hub.c Sun May 18 16:31:02 2003 @@ -737,6 +737,9 @@ if (status != -1) { usb_clear_port_feature(hub, port + 1, USB_PORT_FEAT_C_RESET); + dev->state = status + ? USB_STATE_NOTATTACHED + : USB_STATE_DEFAULT; return status; } --- 1.204/drivers/usb/core/usb.c Sun May 4 23:49:53 2003 +++ edited/drivers/usb/core/usb.c Sun May 18 16:32:19 2003 @@ -1018,7 +1018,6 @@ dev->dev.dma_mask = parent->dma_mask; /* it's not usable yet */ - dev->state = USB_STATE_DEFAULT; /* USB 2.0 section 5.5.3 talks about ep0 maxpacket ... * it's fixed size except for full speed devices.