diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-04-24 21:25:26 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-04-24 21:25:26 +0000 |
commit | 135e73c5f7e6a5630a445ca87059701c267f5193 (patch) | |
tree | 19fd0263337aa85a4627acbe2d1885b0b67bae3f /hw/usb-hub.c | |
parent | separate file for usb hub device (diff) | |
download | qemu-kvm-135e73c5f7e6a5630a445ca87059701c267f5193.tar.gz qemu-kvm-135e73c5f7e6a5630a445ca87059701c267f5193.tar.bz2 qemu-kvm-135e73c5f7e6a5630a445ca87059701c267f5193.zip |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/usb-hub.c b/hw/usb-hub.c index 4d4cb167f..6f6e429a0 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; |