aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-hub.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-24 21:25:26 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-24 21:25:26 +0000
commit135e73c5f7e6a5630a445ca87059701c267f5193 (patch)
tree19fd0263337aa85a4627acbe2d1885b0b67bae3f /hw/usb-hub.c
parent72899afc5d2a33576094a80d1eba797e293c975a (diff)
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
Diffstat (limited to 'hw/usb-hub.c')
-rw-r--r--hw/usb-hub.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/usb-hub.c b/hw/usb-hub.c
index 4d4cb167f4..6f6e429a08 100644
--- a/hw/usb-hub.c
+++ b/hw/usb-hub.c
@@ -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;