]> 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)
commit94ddfc9bd044ee54e842a61f30f1900fbf3d7367
treeb42c968695fd90e78d098bb9a2dc317999a82261
parent6922adb30e70803799b8c41da9289a285eae5f8e
Revert "Bluetooth: Remove rfcomm_carrier_raised()"

This reverts commit a0be612a9ff382579adb6bc73459c7e5c883fa34.

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 9b23da9a3c80115df5047cbd0850d70706d971ff,
"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