Hi Daniel, On Fri, Nov 05, 2010, Daniel Örstadius wrote: > On Thu, Nov 4, 2010 at 8:16 PM, Johan Hedberg <johan.hedberg@xxxxxxxxx> wrote: > > This doesn't seem quite right to me. Aren't you now adding a disconnect > > callback twice: once for CONNECTING and a second time for CONNECTED? It > > seems like you should only add it when new_state == CONNECTING, right? > > > > Yes, that seems right, attaching updated patch. Thanks. The patch is now in the upstream tree. Johan -- 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