]> git.proxmox.com Git - qemu.git/commit - hw/usb/redirect.c
usb-redir: An interface count of 0 is a valid value
authorHans de Goede <hdegoede@redhat.com>
Sat, 31 Mar 2012 15:14:21 +0000 (17:14 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 26 Apr 2012 10:21:17 +0000 (12:21 +0200)
commit1510168e273a12a56e3bd4488b4b2904f5138e09
tree085318f8e53ccea6a03575501e583696e34af3f1
parent215bff17ed89733c23174494cbff63ab941368ca
usb-redir: An interface count of 0 is a valid value

An interface-count of 0 happens when a device is in unconfigured state when
it gets redirected. So we should not use 0 to detect not having received
interface info from our peer.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/redirect.c