]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "Bluetooth: Move rfcomm_get_device() before rfcomm_dev_activate()"
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 10 Feb 2014 01:59:03 +0000 (20:59 -0500)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 14 Feb 2014 21:39:29 +0000 (13:39 -0800)
commita074a1c32937c2e3bb83057ff2cc15e8f2ac6e9b
treee142db29a6e9c1c810331ebbb4382099cf68b1f0
parentb3eebf793e05cc46caa227bbc957298291bb6883
Revert "Bluetooth: Move rfcomm_get_device() before rfcomm_dev_activate()"

This reverts commit 06b34cc27a7a392ea91851b874209003740d25b6.

This is the third of a 3-patch revert, together with
Revert "Bluetooth: Remove rfcomm_carrier_raised()" and
Revert "Bluetooth: Always wait for a connection on RFCOMM open()".

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