Commit 135e73c5f7e6a5630a445ca87059701c267f5193
1 parent
72899afc
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
Showing
1 changed file
with
0 additions
and
1 deletions
hw/usb-hub.c
| @@ -336,7 +336,6 @@ static int usb_hub_handle_control(USBDevice *dev, int request, int value, | @@ -336,7 +336,6 @@ static int usb_hub_handle_control(USBDevice *dev, int request, int value, | ||
| 336 | USB_MSG_RESET, 0, 0, NULL, 0); | 336 | USB_MSG_RESET, 0, 0, NULL, 0); |
| 337 | port->wPortChange |= PORT_STAT_C_RESET; | 337 | port->wPortChange |= PORT_STAT_C_RESET; |
| 338 | /* set enable bit */ | 338 | /* set enable bit */ |
| 339 | - port->wPortChange |= PORT_STAT_C_ENABLE; | ||
| 340 | port->wPortStatus |= PORT_STAT_ENABLE; | 339 | port->wPortStatus |= PORT_STAT_ENABLE; |
| 341 | } | 340 | } |
| 342 | break; | 341 | break; |