summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/l2cap_core.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko2012-09-27 16:26:21 +0200
committerGustavo Padovan2012-09-27 22:31:52 +0200
commit2766be48a7181d7f2a84831ca7e7be248fb6fdb5 (patch)
tree9d5554696f17b42a2724b652928450f745cb00a8 /net/bluetooth/l2cap_core.c
parentBluetooth: AMP: Write remote AMP Assoc (diff)
downloadkernel-qcow2-linux-2766be48a7181d7f2a84831ca7e7be248fb6fdb5.tar.gz
kernel-qcow2-linux-2766be48a7181d7f2a84831ca7e7be248fb6fdb5.tar.xz
kernel-qcow2-linux-2766be48a7181d7f2a84831ca7e7be248fb6fdb5.zip
Bluetooth: A2MP: Add fallback to normal l2cap init sequence
When there is no remote AMP controller found fallback to normal L2CAP sequence. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
-rw-r--r--net/bluetooth/l2cap_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index 781a085ae5bc..a347522b2144 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -958,7 +958,7 @@ static bool __amp_capable(struct l2cap_chan *chan)
return false;
}
-static void l2cap_send_conn_req(struct l2cap_chan *chan)
+void l2cap_send_conn_req(struct l2cap_chan *chan)
{
struct l2cap_conn *conn = chan->conn;
struct l2cap_conn_req req;