uas: add missing return
commit1c6c0b9ec1c0d980d4f0ac2604c4f9fd9611034b
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 10 Dec 2021 08:06:59 +0000 (10 09:06 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 13 Jan 2022 09:58:05 +0000 (13 10:58 +0100)
tree54db26545b03764bc9d4e290d917f2ff3b7a34ae
parent87800d940584cb22fbfa1a0da61f2365e6ede3a8
uas: add missing return

Otherwise we run the error handling code even for successful requests.

Fixes: 13b250b12ad3 ("uas: add stream number sanity checks.")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211210080659.2537084-1-kraxel@redhat.com>
hw/usb/dev-uas.c