usb: fix interface initialization
commit7c37e6a4c4972ad3cdb2478a0249757ee3a1bf70
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 3 Jul 2012 08:15:08 +0000 (3 10:15 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 9 Jul 2012 09:59:55 +0000 (9 11:59 +0200)
tree891c2a7ec6d14afa682a7d8af3bc12229d35f868
parent19deaa089cb874912767bc6071f3b7372d3ff961
usb: fix interface initialization

zero is a valid interface number, so don't use it when resetting the
endpoints.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb.h
hw/usb/core.c