]> git.baikalelectronics.ru Git - kernel.git/commit
[BLUETOOTH]: Move children of connection device to NULL before connection down.
authorDave Young <hidave.darkstar@gmail.com>
Tue, 22 Jan 2008 06:35:21 +0000 (22:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2008 11:11:39 +0000 (03:11 -0800)
commit5a4cee95fe888f572aa43cf15eadad9f817210cf
tree515aefb6f5346d417933a6b8958d1052cea51f6a
parenta8708a072a305b3bc9931e24d0b210b3e0a5059e
[BLUETOOTH]: Move children of connection device to NULL before connection down.

The rfcomm tty device will possibly retain even when conn is down, and
sysfs doesn't support zombie device moving, so this patch move the tty
device before conn device is destroyed.

For the bug refered please see :
http://lkml.org/lkml/2007/12/28/87

Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bluetooth/hci_sysfs.c
net/bluetooth/rfcomm/tty.c