summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-05-14 12:27:21 +0200
committerMarcel Holtmann <marcel@holtmann.org>2013-12-05 16:05:33 +0100
commit27e2d4c8d28be1d1b4ecfbffab572d7dbd35254d (patch)
tree08d2b9dd538a3c410cfb2e6648048ae54766a7bc /include
parentBluetooth: Refactor L2CAP connect rejection to its own function (diff)
downloadlinux-27e2d4c8d28be1d1b4ecfbffab572d7dbd35254d.tar.xz
linux-27e2d4c8d28be1d1b4ecfbffab572d7dbd35254d.zip
Bluetooth: Add basic LE L2CAP connect request receiving support
This patch adds the necessary boiler plate code to handle receiving L2CAP connect requests over LE and respond to them with a proper connect response. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/l2cap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 84c0754b87dc..84b25202596e 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -846,6 +846,7 @@ int l2cap_init_sockets(void);
void l2cap_cleanup_sockets(void);
bool l2cap_is_socket(struct socket *sock);
+void __l2cap_le_connect_rsp_defer(struct l2cap_chan *chan);
void __l2cap_connect_rsp_defer(struct l2cap_chan *chan);
int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm);