summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/l2cap.h
diff options
context:
space:
mode:
authorMat Martineau2012-10-24 00:24:23 +0200
committerGustavo Padovan2012-10-24 04:26:30 +0200
commit3f7a56c4ff438f4727439cb048034f56320dd228 (patch)
treebdd3ce761c4055bed50b3f301e1de2b745acb1af /include/net/bluetooth/l2cap.h
parentBluetooth: Do not retransmit data during a channel move (diff)
downloadkernel-qcow2-linux-3f7a56c4ff438f4727439cb048034f56320dd228.tar.gz
kernel-qcow2-linux-3f7a56c4ff438f4727439cb048034f56320dd228.tar.xz
kernel-qcow2-linux-3f7a56c4ff438f4727439cb048034f56320dd228.zip
Bluetooth: Start channel move when socket option is changed
Channel moves are triggered by changes to the BT_CHANNEL_POLICY sockopt when an ERTM or streaming-mode channel is connected. Moves are only started if enable_hs is true. Signed-off-by: Mat Martineau <mathewm@codeaurora.org> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-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 b4c3c65c1f58..49783e948856 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -809,5 +809,6 @@ void l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
void __l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
void l2cap_chan_del(struct l2cap_chan *chan, int err);
void l2cap_send_conn_req(struct l2cap_chan *chan);
+void l2cap_move_start(struct l2cap_chan *chan);
#endif /* __L2CAP_H */