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:
parent
72899afc5d
commit
135e73c5f7
@ -336,7 +336,6 @@ static int usb_hub_handle_control(USBDevice *dev, int request, int value,
|
|||||||
USB_MSG_RESET, 0, 0, NULL, 0);
|
USB_MSG_RESET, 0, 0, NULL, 0);
|
||||||
port->wPortChange |= PORT_STAT_C_RESET;
|
port->wPortChange |= PORT_STAT_C_RESET;
|
||||||
/* set enable bit */
|
/* set enable bit */
|
||||||
port->wPortChange |= PORT_STAT_C_ENABLE;
|
|
||||||
port->wPortStatus |= PORT_STAT_ENABLE;
|
port->wPortStatus |= PORT_STAT_ENABLE;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user