]> git.proxmox.com Git - mirror_qemu.git/commit - hw/usb/hcd-ehci.c
usb-ehci: Never follow table entries with the T-bit set
authorHans de Goede <hdegoede@redhat.com>
Fri, 2 Mar 2012 20:27:09 +0000 (21:27 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 7 Mar 2012 11:28:02 +0000 (12:28 +0100)
commit2a5ff735dc1074171a0cbb1dc228d6d6e907f571
tree33f19baa5b73f50d3c00c5b70f31618b82b1e132
parent0454b611bb129ada92d16cfb9bec5fd6e1df5ab0
usb-ehci: Never follow table entries with the T-bit set

Before this patch the T-bit was not checked in 2 places, while it should be.

Once we properly check the T-bit everywhere we no longer need the weird
entry < 0x1000 and entry > 0x1000 checks, so this patch removes them.

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