]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[BLUETOOTH]: Add conn add/del workqueues to avoid connection fail.
authorDave Young <hidave.darkstar@gmail.com>
Wed, 30 Jan 2008 05:14:08 +0000 (21:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:27:12 +0000 (19:27 -0800)
commitb6c0632105f7d7548f1d642ba830088478d4f2b0
tree63e06f0d8565e5704d3ebabfd1597ad995253434
parent2614fa59fa805cd488083c5602eb48533cdbc018
[BLUETOOTH]: Add conn add/del workqueues to avoid connection fail.

The bluetooth hci_conn sysfs add/del executed in the default
workqueue.  If the del_conn is executed after the new add_conn with
same target, add_conn will failed with warning of "same kobject name".

Here add btaddconn & btdelconn workqueues, flush the btdelconn
workqueue in the add_conn function to avoid the issue.

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