aboutsummaryrefslogtreecommitdiff
path: root/tests/decode/err_field4.decode
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2024-11-12 09:01:52 -0800
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-11-18 13:36:39 +0100
commitb2cc69997924b651c0c6f4037782e25f2e438715 (patch)
tree4fbc7bd52a392c6775e23505f98dcaf8ccd03e41 /tests/decode/err_field4.decode
parentfdc2294ac91c24d22ee58b12be803011a94e84c6 (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>
Diffstat (limited to 'tests/decode/err_field4.decode')
0 files changed, 0 insertions, 0 deletions