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 4d4cb167f432f9c9836842d2b91f70c2cd518904..6f6e429a085753f60de57a7163ad0f0f906d6fb2 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;