diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-11-14 10:39:31 -0500 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-11-19 16:30:35 -0500 |
commit | 12d6cc60f2d02d5754ca662b414f8f96200b14a6 (patch) | |
tree | 266bb1ef52f35d67bd7439c61d15864dcb608528 /net/bluetooth/amp.c | |
parent | a514b17fab51c1433db920d76cf8ddda959e5da0 (diff) |
Bluetooth: Disable FCS only for new HS channels
Set chan->fcs to L2CAP_FCS_NONE only for new L2CAP channels
(not moved). Other side can still request to use FCS.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/amp.c')
-rw-r--r-- | net/bluetooth/amp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bluetooth/amp.c b/net/bluetooth/amp.c index eaf473ffeef9..0258b2645edb 100644 --- a/net/bluetooth/amp.c +++ b/net/bluetooth/amp.c | |||
@@ -392,7 +392,6 @@ void amp_physical_cfm(struct hci_conn *bredr_hcon, struct hci_conn *hs_hcon) | |||
392 | bredr_chan->remote_amp_id = hs_hcon->remote_id; | 392 | bredr_chan->remote_amp_id = hs_hcon->remote_id; |
393 | bredr_chan->hs_hcon = hs_hcon; | 393 | bredr_chan->hs_hcon = hs_hcon; |
394 | bredr_chan->conn->mtu = hs_hcon->hdev->block_mtu; | 394 | bredr_chan->conn->mtu = hs_hcon->hdev->block_mtu; |
395 | bredr_chan->fcs = L2CAP_FCS_NONE; | ||
396 | 395 | ||
397 | __l2cap_physical_cfm(bredr_chan, 0); | 396 | __l2cap_physical_cfm(bredr_chan, 0); |
398 | 397 | ||