Re: [PATCH 5/6] Bluetooth: Add server socket support for LE connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux