Fix broken USB support for Linux host (Bjorn Danielsson)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 21 Oct 2008 16:27:28 +0000 (16:27 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 21 Oct 2008 16:27:28 +0000 (16:27 +0000)
commit22babebbaa17c0c0c134ea4f5eaf5cbbd68472ab
treeae86e2599f55f4bc134e78e3f1ce83ab56e38c22
parent26d6736245f313da32487688c9a171462ac7c6de
Fix broken USB support for Linux host (Bjorn Danielsson)

Make "host:" usb devices work again on systems that have the
file /proc/bus/usb/devices. This was broken in r5441 due to
incorrect logic for the USB_FS_SYS case in usb_host_scan().

Signed-off-by: Bjorn Danielsson <bdq@dax.nu>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5507 c046a42c-6fe2-441c-8c8c-71466251a162
usb-linux.c