summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-13 17:34:01 (GMT)
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-13 18:11:20 (GMT)
commiteea963641bf548bda164b92aa20ccda56c5cf349 (patch)
treeddfd4a7dde5160a7407c53082d637c49cfd47633 /include
parent041987cff6fb7d2e7acd5897390ad0eef575ed39 (diff)
downloadlinux-fsl-qoriq-eea963641bf548bda164b92aa20ccda56c5cf349.tar.xz
Bluetooth: Store SCO address information in its own socket structure
The address information of SCO sockets should be stored in its own socket structure. Trying to generalize them is not helpful since different transports have different address types. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/sco.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/sco.h b/include/net/bluetooth/sco.h
index 94703a2..2019d1a 100644
--- a/include/net/bluetooth/sco.h
+++ b/include/net/bluetooth/sco.h
@@ -69,6 +69,8 @@ struct sco_conn {
struct sco_pinfo {
struct bt_sock bt;
+ bdaddr_t src;
+ bdaddr_t dst;
__u32 flags;
__u16 setting;
struct sco_conn *conn;