Bluetooth: Ignore Tx Window value with Streaming mode
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 1 May 2010 19:15:39 +0000 (16:15 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 07:28:48 +0000 (09:28 +0200)
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 <padovan@profusion.mobi>
Reviewed-by: João Paulo Rechi Vita <jprvita@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c

index 03006568f8a197c1790320d80184286204c02e34..f604405fe667fd17bfbd83ef95339e5a1c46467a 100644 (file)
@@ -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;