commit | 1eac5c244f705182d1552a53e2f74e2775ed95d6 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Thu Jan 12 14:56:22 2017 +0100 |
committer | Johan Hovold <johan@kernel.org> | Mon Jan 16 16:38:57 2017 +0100 |
tree | 0d7da6913d354ba81d90cc72db9a2ae7e7339cd5 | |
parent | 5ed8d41023751bdd3546f2fe4118304357efe8d2 [diff] |
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: 52af95459939 ("USB: add USB serial ssu100 driver") Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>