On Mon, Oct 25, 2010 at 8:21 AM, Ville Tervo <ville.tervo@xxxxxxxxx> wrote: > +static void l2cap_le_conn_ready(struct l2cap_conn *conn) > +{ > + struct l2cap_chan_list *list = &conn->chan_list; > + struct sock *parent, *uninitialized_var(sk); > + > + BT_DBG(""); > + > + /* Check if we have socket listening on cid */ > + parent = l2cap_get_sock_by_cid(BT_LISTEN, 0x04, conn->src); You can use L2CAP_CID_LE_DATA instead of 0x04. Regards, -- Anderson Lizardo OpenBossa Labs - 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