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

USB: serial: kobil_sct: fix modem-status error handling



Make sure to return -EIO in case of a short modem-status read request.

While at it, split the debug message to not include the (zeroed)
transfer-buffer content in case of errors.

Fixes: 1da177e4 ("Linux-2.6.12-rc2")
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 1d1de580
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment