kernel-ark/net/bluetooth
Marcel Holtmann a0c22f2265 [Bluetooth] Move pending packets from RFCOMM socket to TTY
When an incoming RFCOMM socket connection gets converted into a TTY,
it can happen that packets are lost. This mainly happens with the
Handsfree profile where the remote side starts sending data right
away. The problem is that these packets are in the socket receive
queue. So when creating the TTY make sure to copy all pending packets
from the socket receive queue to a private queue inside the TTY.

To make this actually work, the flow control on the newly created TTY
will be disabled and only enabled again when the TTY is opened by an
application. And right before that, the pending packets will be put
into the TTY flip buffer.

Signed-off-by: Denis Kenzior <denis.kenzior@trolltech.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2008-07-14 20:13:52 +02:00
..
bnep bluetooth: use get/put_unaligned_* helpers 2008-05-02 16:25:46 -07:00
cmtp
hidp
rfcomm [Bluetooth] Move pending packets from RFCOMM socket to TTY 2008-07-14 20:13:52 +02:00
af_bluetooth.c [Bluetooth] Update Bluetooth core version number 2008-07-14 20:13:51 +02:00
hci_conn.c [Bluetooth] Use a more unique bus name for connections 2008-07-14 20:13:51 +02:00
hci_core.c [Bluetooth] Use ACL config stage to retrieve remote features 2008-07-14 20:13:49 +02:00
hci_event.c [Bluetooth] Use a more unique bus name for connections 2008-07-14 20:13:51 +02:00
hci_sock.c [Bluetooth] Export details about authentication requirements 2008-07-14 20:13:50 +02:00
hci_sysfs.c [Bluetooth] Use a more unique bus name for connections 2008-07-14 20:13:51 +02:00
Kconfig
l2cap.c [Bluetooth] Add timestamp support to L2CAP, RFCOMM and SCO 2008-07-14 20:13:50 +02:00
lib.c
Makefile
sco.c [Bluetooth] Add timestamp support to L2CAP, RFCOMM and SCO 2008-07-14 20:13:50 +02:00