diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-07-19 18:06:15 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-07-19 18:06:15 +0000 |
commit | 059809e45160fda714edf645902db95e262886e9 (patch) | |
tree | 06c7c0c578bbbf43e8c8d843c61a63dec484dd4e /hw/usb.c | |
parent | 3b2ccc57c74a3a7405dabd36f7abacd3eff46b46 (diff) | |
download | qemu-059809e45160fda714edf645902db95e262886e9.zip qemu-059809e45160fda714edf645902db95e262886e9.tar.gz qemu-059809e45160fda714edf645902db95e262886e9.tar.bz2 |
usb destroy API change (Lonnie Mendez)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2066 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/usb.c')
-rw-r--r-- | hw/usb.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -55,10 +55,7 @@ int usb_generic_handle_packet(USBDevice *s, int pid, s->remote_wakeup = 0; s->addr = 0; s->state = USB_STATE_DEFAULT; - s->handle_reset(s, 0); - break; - case USB_MSG_DESTROY: - s->handle_reset(s, 1); + s->handle_reset(s); break; case USB_TOKEN_SETUP: if (s->state < USB_STATE_DEFAULT || devaddr != s->addr) |