]> 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)
commitfafa9588f53d9ef4042843abfcb3f59922f2bd4d
treee142db29a6e9c1c810331ebbb4382099cf68b1f0
parent4c3265f90714285cc930fbb51d1cfb4bdcd487bf
Revert "Bluetooth: Move rfcomm_get_device() before rfcomm_dev_activate()"

This reverts commit ebf7bd26ce57c5cfe71ffd1583670e41b0f92a35.

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 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