diff options
author | Gonglei <arei.gonglei@huawei.com> | 2014-09-19 15:25:21 +0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-09-23 12:51:08 +0200 |
commit | 7334d6507a7578152bb7addcef84e4cf634814a4 (patch) | |
tree | 4b5684fc19a7bff2d977c48cb0a2ecc751142780 /net/hub.c | |
parent | 594a53607e5bd4a2b7555a7a2908d2c406fea9aa (diff) | |
download | qemu-7334d6507a7578152bb7addcef84e4cf634814a4.zip qemu-7334d6507a7578152bb7addcef84e4cf634814a4.tar.gz qemu-7334d6507a7578152bb7addcef84e4cf634814a4.tar.bz2 |
usb-serial: only check speed once at realize time
Whatever the chardev is open or not, we should assure
the speed is matched each other. So, call usb_check_attach()
check speed. And then pass &error_abort at all calls to
usb_device_attach().
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'net/hub.c')
0 files changed, 0 insertions, 0 deletions