aboutsummaryrefslogtreecommitdiff
path: root/drivers/tty/isicom.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-11-15 09:49:48 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-15 17:18:55 -0800
commit7342c59a44ad9e5f30baaa2de84830f40b9f06c0 (patch)
tree57cb023fce5ab3da54bea7a1d00c3aeb4f5220b6 /drivers/tty/isicom.c
parent2dff8ad92661b6c99e9ba8b5918e43b522551556 (diff)
TTY: isicom, stop using port->tty
Do not access unsafe port->tty pointer when we have a safe tty already. Use the safe one. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/isicom.c')
-rw-r--r--drivers/tty/isicom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/isicom.c b/drivers/tty/isicom.c
index d7492e18360..5f3ecbc2713 100644
--- a/drivers/tty/isicom.c
+++ b/drivers/tty/isicom.c
@@ -603,7 +603,7 @@ static irqreturn_t isicom_interrupt(int irq, void *dev_id)
if (tty_port_cts_enabled(&port->port)) {
if (tty->hw_stopped) {
if (header & ISI_CTS) {
- port->port.tty->hw_stopped = 0;
+ tty->hw_stopped = 0;
/* start tx ing */
port->status |= (ISI_TXOK
| ISI_CTS);