Hi Padovan, On Wed, Dec 12, 2012 at 12:13 AM, Gustavo Padovan <gustavo@xxxxxxxxxxx> wrote: > @@ -230,9 +230,7 @@ static void l2cap_state_change(struct l2cap_chan *chan, int state) > > static inline void __l2cap_chan_set_err(struct l2cap_chan *chan, int err) > { > - struct sock *sk = chan->sk; > - > - sk->sk_err = err; > + chan->ops->state_change(chan, chan->state, 0); Shouldn't it be "chan->ops->state_change(chan, chan->state, err);" here? Regards, -- Anderson Lizardo Instituto Nokia de Tecnologia - INdT Manaus - Brazil -- 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