aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/bluetooth/bluetooth.h
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-10-21 18:22:24 -0200
committerMarcel Holtmann <marcel@holtmann.org>2013-10-21 13:50:55 -0700
commit0e790c64f37a1a43c147720bdfa03b7c5538e24a (patch)
tree62184513e2436b5f331badd2ca050a237d0fb024 /include/net/bluetooth/bluetooth.h
parentBluetooth: Remove parent socket usage from l2cap_core.c (diff)
downloadwireguard-linux-0e790c64f37a1a43c147720bdfa03b7c5538e24a.tar.xz
wireguard-linux-0e790c64f37a1a43c147720bdfa03b7c5538e24a.zip
Bluetooth: Add L2CAP channel to skb private data
Adding the channel to the skb private data makes possible to us know which channel the skb we have came from. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/bluetooth.h')
-rw-r--r--include/net/bluetooth/bluetooth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h
index bf2ddffdae2d..a707a0209df4 100644
--- a/include/net/bluetooth/bluetooth.h
+++ b/include/net/bluetooth/bluetooth.h
@@ -282,6 +282,7 @@ struct bt_skb_cb {
__u8 incoming;
__u16 expect;
__u8 force_active;
+ struct l2cap_chan *chan;
struct l2cap_ctrl control;
struct hci_req_ctrl req;
bdaddr_t bdaddr;