mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 11:53:53 +00:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>