[Bluetooth] Check if RFCOMM session is still attached to the TTY
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 18 Nov 2006 21:14:42 +0000 (22:14 +0100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 22 Nov 2006 00:16:30 +0000 (16:16 -0800)
If the RFCOMM session is no longer attached to the TTY device, then it
makes no sense to go through with changing the termios settings.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/rfcomm/tty.c

Simple merge