Skip to content

Commit

Permalink
Bluetooth: AMP: Set no FCS for incoming L2CAP chan
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrei Emeltchenko authored and Gustavo Padovan committed Nov 20, 2012
1 parent 1bb166e commit fd45bf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/bluetooth/l2cap_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4286,6 +4286,7 @@ static int l2cap_create_channel_req(struct l2cap_conn *conn,

mgr->bredr_chan = chan;
chan->hs_hcon = hs_hcon;
chan->fcs = L2CAP_FCS_NONE;
conn->mtu = hdev->block_mtu;
}

Expand Down

0 comments on commit fd45bf4

Please sign in to comment.