[Bluetooth] More checks if DLC is still attached to the TTY
commitb6e557fbf1dbba8cfa667a25503e5dbd0e9330b7
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Jan 2007 01:16:27 +0000 (8 02:16 +0100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 9 Jan 2007 08:29:54 +0000 (9 00:29 -0800)
tree21296e7953c115aefb4967ad7680b6a5fc680310
parentf4777569204cb59f2f04fbe9ef4e9a6918209104
[Bluetooth] More checks if DLC is still attached to the TTY

If the DLC device is no longer attached to the TTY device, then return
errors or default values for various callbacks of the TTY layer.

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