mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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>
This commit is contained in:
committed by
Gustavo Padovan
parent
a514b17fab
commit
12d6cc60f2
@@ -4517,6 +4517,8 @@ void l2cap_move_start(struct l2cap_chan *chan)
|
||||
static void l2cap_do_create(struct l2cap_chan *chan, int result,
|
||||
u8 local_amp_id, u8 remote_amp_id)
|
||||
{
|
||||
chan->fcs = L2CAP_FCS_NONE;
|
||||
|
||||
if (!test_bit(CONF_CONNECT_PEND, &chan->conf_state)) {
|
||||
struct l2cap_conn_rsp rsp;
|
||||
char buf[128];
|
||||
|
||||
Reference in New Issue
Block a user