From: Dave Young Date: Wed, 30 Jan 2008 05:14:08 +0000 (-0800) Subject: [BLUETOOTH]: Add conn add/del workqueues to avoid connection fail. X-Git-Tag: v2.6.25-rc1~1089^2~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6c0632105f7d7548f1d642ba830088478d4f2b0;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed