aboutsummaryrefslogtreecommitdiff
path: root/hw/9pfs/9p-util-darwin.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2024-11-12 09:01:52 -0800
committerMichael Tokarev <mjt@tls.msk.ru>2024-11-18 19:37:45 +0300
commit7ffc37b541e2a033846f2b84e177640da9f332e3 (patch)
treeff16413d5788a87fd6d27cd2658091f4a9658ea6 /hw/9pfs/9p-util-darwin.c
parente0af40f140553cc1d7f28e962b346bfab87fcf03 (diff)
usb-hub: Fix handling port power control messages
The ClearPortFeature control message fails for PORT_POWER because there is no break; at the end of the case statement, causing it to fall through to the failure handler. Add the missing break; to solve the problem. Fixes: 1cc403eb21 ("usb-hub: emulate per port power switching") Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20241112170152.217664-11-linux@roeck-us.net> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> (cherry picked from commit b2cc69997924b651c0c6f4037782e25f2e438715) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/9pfs/9p-util-darwin.c')
0 files changed, 0 insertions, 0 deletions