]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "Bluetooth: Remove rfcomm_carrier_raised()"
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 10 Feb 2014 01:59:01 +0000 (20:59 -0500)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 14 Feb 2014 21:39:28 +0000 (13:39 -0800)
commitbf3e967ee65a341a5a66ba8658747f5e547951c8
treeb42c968695fd90e78d098bb9a2dc317999a82261
parent8e5d1f6c4c06eaf9e804e2a05b9baa3d85d74081
Revert "Bluetooth: Remove rfcomm_carrier_raised()"

This reverts commit 1c5608d38cdfaf3f9c5c88035bd5b563459891f6.

This is the first of a 3-patch revert, together with
Revert "Bluetooth: Always wait for a connection on RFCOMM open()" and
Revert "Bluetooth: Move rfcomm_get_device() before rfcomm_dev_activate()".

Commit 4c3f81e0a7627f10e02a1dc878611c323d485745,
"Bluetooth: Always wait for a connection on RFCOMM open()" open-codes
blocking on tty open(), rather than using the default behavior
implemented by the tty port.

The reasons for reverting that patch are detailed in that changelog;
this patch restores required functionality for that revert.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Tested-By: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/rfcomm/tty.c