]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Start channel move when socket option is changed
authorMat Martineau <mathewm@codeaurora.org>
Tue, 23 Oct 2012 22:24:23 +0000 (15:24 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 24 Oct 2012 02:26:30 +0000 (00:26 -0200)
commit78a623fd426a4fdb8d27c317972c71f0557f7755
treebdd3ce761c4055bed50b3f301e1de2b745acb1af
parent0e5f31d61b15ac33ed15a356683860fd42fa92d7
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>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c