From: Gustavo F. Padovan Date: Sat, 1 May 2010 19:15:39 +0000 (-0300) Subject: Bluetooth: Ignore Tx Window value with Streaming mode X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=2fb862e215e53630066c677e06d7551fa38bf235;p=deliverable%2Flinux.git Bluetooth: Ignore Tx Window value with Streaming mode Tx Window value shall not be used with Streaming Mode and the receiver of the config Request shall ignore its value. Signed-off-by: Gustavo F. Padovan Reviewed-by: João Paulo Rechi Vita Signed-off-by: Marcel Holtmann --- diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c index 03006568f8a1..f604405fe667 100644 --- a/net/bluetooth/l2cap.c +++ b/net/bluetooth/l2cap.c @@ -2495,7 +2495,6 @@ done: break; case L2CAP_MODE_STREAMING: - pi->remote_tx_win = rfc.txwin_size; pi->max_pdu_size = rfc.max_pdu_size; pi->conf_state |= L2CAP_CONF_MODE_DONE;