summaryrefslogtreecommitdiffstats
path: root/drivers/nubus
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-02-09 20:59:22 -0500
committerMarcel Holtmann <marcel@holtmann.org>2014-02-14 13:39:32 -0800
commit72e5108c6d637ea2f4c0e64b09621a79f363b664 (patch)
tree9d1475b02d828725aeb80f0366d50c77aa5c2bb3 /drivers/nubus
parent5326a4ee982703ddba14a9821fe5cb10d122e1b0 (diff)
downloadtalos-op-linux-72e5108c6d637ea2f4c0e64b09621a79f363b664.tar.gz
talos-op-linux-72e5108c6d637ea2f4c0e64b09621a79f363b664.zip
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>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud