linux/include/net/bluetooth
Peter Hurley 72e5108c6d Bluetooth: Don't fail RFCOMM tty writes
The tty driver api design prefers no-fail writes if the driver
write_room() method has previously indicated space is available
to accept writes. Since this is trivially possible for the
RFCOMM tty driver, do so.

Introduce rfcomm_dlc_send_noerror(), which queues but does not
schedule the krfcomm thread if the dlc is not yet connected
(and thus does not error based on the connection state).
The mtu size test is also unnecessary since the caller already
chunks the written data into mtu size.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Tested-By: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2014-02-14 13:39:32 -08:00
..
bluetooth.h Bluetooth: Introduce requirements for security level 4 2014-02-13 09:51:35 +02:00
hci_core.h Bluetooth: Introduce connection parameters list 2014-02-13 09:51:44 +02:00
hci_mon.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
hci.h Bluetooth: Add constants for LTK key types 2014-02-13 09:51:44 +02:00
l2cap.h Bluetooth: Enable LE L2CAP CoC support by default 2014-02-14 13:39:12 -08:00
mgmt.h Bluetooth: Rename authentication to key_type in mgmt_ltk_info 2014-02-13 09:51:43 +02:00
rfcomm.h Bluetooth: Don't fail RFCOMM tty writes 2014-02-14 13:39:32 -08:00
sco.h Bluetooth: Store SCO address information in its own socket structure 2013-10-13 21:11:20 +03:00