]> git.karo-electronics.de Git - linux-beck.git/commit
USB: f81232: fix device initialisation at open
authorJohan Hovold <jhovold@gmail.com>
Mon, 10 Jun 2013 16:29:37 +0000 (18:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Jun 2013 18:00:48 +0000 (11:00 -0700)
commit21886725d58e92188159731c7c1aac803dd6b9dc
tree50f6e91ce8bb478b14da1ad0db15e93238521d5a
parent317ddd256b9c24b0d78fa8018f80f1e495481a10
USB: f81232: fix device initialisation at open

Do not use uninitialised termios data to determine when to configure the
device at open.

This also prevents stack data from leaking to userspace.

Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/f81232.c