On pe, 2014-06-13 at 15:53 +0300, Jukka Rissanen wrote: > Create a CoC dynamically instead of one fixed channel for communication > to peer devices. > > +static void chan_close(struct l2cap_chan *chan, int reason) > +{ > + l2cap_chan_lock(chan); > + l2cap_chan_close(chan, reason); > + l2cap_chan_unlock(chan); > + l2cap_chan_put(chan); > +} > + This channel locking is wrong as I get locking errors and eventually the kernel will freeze. I will send a new version fixing this. Cheers, Jukka -- 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