]> err.no Git - linux-2.6/commit
[BLUETOOTH]: put_device before device_del fix
authorDave Young <hidave.darkstar@gmail.com>
Sun, 30 Dec 2007 03:17:47 +0000 (19:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Dec 2007 03:17:47 +0000 (19:17 -0800)
commit38b7da09cfdb2202f08476d6fb22a47649a177ec
tree1f83cbc232b36282d7ed94104d8ae47fe9c55756
parent2072c228c9a05c004a230620196da7607cdcc5b6
[BLUETOOTH]: put_device before device_del fix

Because of workqueue delay, the put_device could be called before
device_del, so move it to del_conn.

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