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)
commit3f7a56c4ff438f4727439cb048034f56320dd228
treebdd3ce761c4055bed50b3f301e1de2b745acb1af
parente6a3ee6e8aa27d0a38be7ead0c1624041697ffbc
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