diff options
author | Mat Martineau <mathewm@codeaurora.org> | 2010-08-05 15:54:23 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-08-10 07:59:11 -0400 |
commit | cff70fae111efba80c27023772ce5265797fb514 (patch) | |
tree | da5ad9fc7d6a492a70816517d5fc742712605d02 /drivers/s390 | |
parent | fa235562fbde8703aabeeedfa0772f08608d1542 (diff) | |
download | linux-cff70fae111efba80c27023772ce5265797fb514.tar.bz2 |
Bluetooth: Fix incorrect setting of remote_tx_win for L2CAP ERTM
remote_tx_win is intended to be set on receipt of an L2CAP
configuration request. The value is used to determine the size of the
transmit window on the remote side of an ERTM connection, so L2CAP
can stop sending frames when that remote window is full.
An incorrect remote_tx_win value will cause the stack to not fully
utilize the tx window (performance impact), or to overfill the remote
tx window (causing dropped frames or a disconnect).
This patch removes an extra setting of remote_tx_win when a
configuration response is received. The transmit window has a
different meaning in a response - it is an informational value
less than or equal to the local tx_win.
Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions