[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)
commitff2d367ac33b9278c9516ac1888207dac11d10b0
tree7280d3007f20c2c9921f150ec3a84ca52194176e
parent6bd57416127e92d35e6798925502c84e14a3a966
[Bluetooth] Check if RFCOMM session is still attached to the TTY

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