linux/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 [BLUETOOTH]: Use sockfd_put() 2008-01-28 15:00:48 -08:00
hidp bluetooth: uninlining 2008-02-05 03:07:58 -08:00
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 [S390] Kconfig: unwanted menus for s390. 2007-05-10 15:46:07 +02:00
l2cap.c [Bluetooth] Add timestamp support to L2CAP, RFCOMM and SCO 2008-07-14 20:13:50 +02:00
lib.c [NET] BLUETOOTH: Fix whitespace errors. 2007-02-10 23:19:20 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sco.c [Bluetooth] Add timestamp support to L2CAP, RFCOMM and SCO 2008-07-14 20:13:50 +02:00