]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Use address type info from user-space
authorAndre Guedes <andre.guedes@openbossa.org>
Wed, 25 Apr 2012 00:02:55 +0000 (21:02 -0300)
committerGustavo Padovan <gustavo@padovan.org>
Sun, 29 Apr 2012 20:27:42 +0000 (17:27 -0300)
commit7c0e14ce9d1012f62a65f2cd758a3a0371c9d3c3
treebb879c16d37a2badd68053dfd83609fae3bdf27e
parent7e26243460f74a129469aadbe713a0cd422361d0
Bluetooth: Use address type info from user-space

In order to establish a LE connection we need the address type
information. User-space already pass this information to kernel
through struct sockaddr_l2.

This patch adds the dst_type parameter to l2cap_chan_connect so we
are able to pass the address type info from user-space down to
hci_conn layer.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c