From: Andrei Emeltchenko Date: Tue, 20 Nov 2012 15:16:22 +0000 (+0200) Subject: Bluetooth: AMP: Set no FCS for incoming L2CAP chan X-Git-Tag: v3.8-rc1~139^2~17^2~88^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd45bf4c923308b19d8baa3c227d26a0e7d79fa7;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Gustavo Padovan --- diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index f44c542..b52f66d 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, mgr->bredr_chan = chan; chan->hs_hcon = hs_hcon; + chan->fcs = L2CAP_FCS_NONE; conn->mtu = hdev->block_mtu; }