Re: [PATCH retry] bluetooth : add conn add/del workqueues to avoid connection fail
Marcel Holtmann <[email protected]>
| Newsgroups | gmane.linux.bluez.devel,gmane.linux.network,gmane.linux.kernel |
|---|---|
| Message-ID | <1201688462.6218.47.camel@violet> |
Hi Dave, > > 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]> > > This looks good, applied, thanks Dave. > > I've queued this up for 2.6.25 merging, if you want me to > schedule it for -stable, just let me know. don't include it. I first have to stress test it on one of my machines. Besides that I have to do some coding style cleanups. Regards Marcel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/