]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[Bluetooth] Make use of device_move() for RFCOMM TTY devices
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 17 Feb 2007 22:58:57 +0000 (23:58 +0100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 26 Feb 2007 19:42:41 +0000 (11:42 -0800)
commitc1a3313698895d8ad4760f98642007bf236af2e8
tree337a876f727061362b6a169f8759849c105b8f7a
parentf5ffd4620aba9e55656483ae1ef5c79ba81f5403
[Bluetooth] Make use of device_move() for RFCOMM TTY devices

In the case of bound RFCOMM TTY devices the parent is not available
before its usage. So when opening a RFCOMM TTY device, move it to
the corresponding ACL device as a child. When closing the device,
move it back to the virtual device tree.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/rfcomm/tty.c