Hi Marcel, On Tuesday 11 of February 2014 09:00:27 Marcel Holtmann wrote: > Hi Szymon, > > > It is no longer possible to send any data after disconnection. > > Extra reference is taken for disconnect watch to allow users to drop > > own reference in disconnect callback. > > I am not sure that is the best way to do it. I get the feeling that we might > better have an internal bool that is tracking if we are > connected/disconnected. Thoughts? You mean don't have a public HFP disconnect handler and just fail on write() or use bool instead of io pointer for state tracking? -- BR Szymon Janc -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html