summaryrefslogtreecommitdiff
path: root/net/irda/ircomm/ircomm_tty_attach.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-06-04 11:35:16 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-12 22:50:23 (GMT)
commita3cc9fcff84c4c8aaecda2420acd89a1418d57e9 (patch)
tree417fefbc96cdea1649186b483bab077c839a2f21 /net/irda/ircomm/ircomm_tty_attach.c
parent718c4ca1f721be3ae67f9ff7d43b9a910e4a1ec3 (diff)
downloadlinux-a3cc9fcff84c4c8aaecda2420acd89a1418d57e9.tar.xz
TTY: ircomm, add tty_port
And use close/open_wait from there. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Samuel Ortiz <samuel@sortiz.org> Cc: netdev@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/irda/ircomm/ircomm_tty_attach.c')
-rw-r--r--net/irda/ircomm/ircomm_tty_attach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/irda/ircomm/ircomm_tty_attach.c b/net/irda/ircomm/ircomm_tty_attach.c
index b65d66e..bb1e935 100644
--- a/net/irda/ircomm/ircomm_tty_attach.c
+++ b/net/irda/ircomm/ircomm_tty_attach.c
@@ -575,7 +575,7 @@ void ircomm_tty_link_established(struct ircomm_tty_cb *self)
self->tty->hw_stopped = 0;
/* Wake up processes blocked on open */
- wake_up_interruptible(&self->open_wait);
+ wake_up_interruptible(&self->port.open_wait);
}
schedule_work(&self->tqueue);