[Bluetooth] Store remote modem status for RFCOMM TTY
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Jul 2008 18:13:52 +0000 (20:13 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Jul 2008 18:13:52 +0000 (20:13 +0200)
commit8b6b3da765af9600b5edd8e3e84a20523e975884
tree16c1ccc6c02ea8fd89043e7ed1934a9cd1d9b6be
parentca37bdd53b5af06d00e792f2415b93206aa2a541
[Bluetooth] Store remote modem status for RFCOMM TTY

When switching a RFCOMM socket to a TTY, the remote modem status might
be needed later. Currently it is lost since the original configuration
is done via the socket interface. So store the modem status and reply
it when the socket has been converted to a TTY.

Signed-off-by: Denis Kenzior <denis.kenzior@trolltech.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/rfcomm.h
net/bluetooth/rfcomm/core.c
net/bluetooth/rfcomm/tty.c