Hi Johan, >> + att->io_destroy_id = timeout_add(1, io_destroy_cb, att, NULL); > > Is this the only reason you're keeping the "bool invalid" variable? I'd > take a different approach and fix the generic IO handling to be able to > destroy the io from within of the disconnect callback. The simplest way > to do this would be to increment the reference count in the generic io > code before calling the disconnect callback and the decrement once done > with the io pointer. That makes sense. I sent a new patch set (v2) with your suggestion. Thanks, Arman -- 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