summaryrefslogtreecommitdiff
path: root/include/net/bluetooth/sco.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-13 10:34:01 -0700
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-13 21:11:20 +0300
commiteea963641bf548bda164b92aa20ccda56c5cf349 (patch)
treeddfd4a7dde5160a7407c53082d637c49cfd47633 /include/net/bluetooth/sco.h
parent041987cff6fb7d2e7acd5897390ad0eef575ed39 (diff)
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/net/bluetooth/sco.h')
-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 94703a25d1c2..2019d1a0996a 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;