Skip to content
Commit 1eac5c24 authored by Johan Hovold's avatar Johan Hovold
Browse files

USB: serial: ssu100: fix control-message error handling

Make sure to detect short control-message transfers rather than continue
with zero-initialised data when retrieving modem status and during
device initialisation.

Fixes: 52af9545

 ("USB: add USB serial ssu100 driver")
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 5ed8d410
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment