diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-11-20 10:16:22 -0500 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-11-20 12:55:22 -0500 |
commit | fd45bf4c923308b19d8baa3c227d26a0e7d79fa7 (patch) | |
tree | 7e4f11c03c3cd2e1cde6b49ebd4bb17c7cacb310 /net/bluetooth | |
parent | 1bb166e66cc46323d3757ce1027cc1c767498d50 (diff) |
Bluetooth: AMP: Set no FCS for incoming L2CAP chan
When receiving L2CAP Create Channel Request set the channel as
L2CAP_FCS_NONE. Then in "L2CAP Config req" following field will
be set: "FCS Option 0x00 (No FCS)". So by default High Speed
channels have no FCS.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index f44c5429b4f0..b52f66d22437 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c | |||
@@ -4286,6 +4286,7 @@ static int l2cap_create_channel_req(struct l2cap_conn *conn, | |||
4286 | 4286 | ||
4287 | mgr->bredr_chan = chan; | 4287 | mgr->bredr_chan = chan; |
4288 | chan->hs_hcon = hs_hcon; | 4288 | chan->hs_hcon = hs_hcon; |
4289 | chan->fcs = L2CAP_FCS_NONE; | ||
4289 | conn->mtu = hdev->block_mtu; | 4290 | conn->mtu = hdev->block_mtu; |
4290 | } | 4291 | } |
4291 | 4292 | ||