diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-02-09 20:59:21 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-02-14 13:39:32 -0800 |
commit | 5326a4ee982703ddba14a9821fe5cb10d122e1b0 (patch) | |
tree | af750c07450faef2f74726c00d00f40baf8b9c26 /net/bluetooth/rfcomm/core.c | |
parent | fb856e50900a84dd9f8d50d3882eb4a26ba6ea54 (diff) | |
download | linux-5326a4ee982703ddba14a9821fe5cb10d122e1b0.tar.gz linux-5326a4ee982703ddba14a9821fe5cb10d122e1b0.tar.bz2 linux-5326a4ee982703ddba14a9821fe5cb10d122e1b0.zip |
Bluetooth: Force -EIO from tty read/write if .activate() fails
If rfcomm_dlc_open() fails, set tty into error state which returns
-EIO from reads and writes.
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 'net/bluetooth/rfcomm/core.c')
0 files changed, 0 insertions, 0 deletions