do not set PORT_STAT_C_ENABLE when doing port reset (Lonnie Mendez)
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 24 Apr 2006 21:25:26 +0000 (21:25 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 24 Apr 2006 21:25:26 +0000 (21:25 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1849 c046a42c-6fe2-441c-8c8c-71466251a162

hw/usb-hub.c

index 4d4cb16..6f6e429 100644 (file)
@@ -336,7 +336,6 @@ static int usb_hub_handle_control(USBDevice *dev, int request, int value,
                                        USB_MSG_RESET, 0, 0, NULL, 0);
                     port->wPortChange |= PORT_STAT_C_RESET;
                     /* set enable bit */
-                    port->wPortChange |= PORT_STAT_C_ENABLE;
                     port->wPortStatus |= PORT_STAT_ENABLE;
                 }
                 break;