do not set PORT_STAT_C_ENABLE when doing port reset (Lonnie Mendez)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1849 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2006-04-24 21:25:26 +00:00
parent 72899afc5d
commit 135e73c5f7

View 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;