diff options
author | Mat Martineau <mathewm@codeaurora.org> | 2012-05-17 20:53:53 -0700 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-06-05 06:34:05 +0300 |
commit | 273759e2c3bd69efe74799c446df69d9ea5ca418 (patch) | |
tree | 906675b52de1cfdc43e188b43f7d0cd7b54bfac7 /net | |
parent | 6ea0048575089e9a714e08bc3debec4b1b9d7664 (diff) | |
download | talos-obmc-linux-273759e2c3bd69efe74799c446df69d9ea5ca418.tar.gz talos-obmc-linux-273759e2c3bd69efe74799c446df69d9ea5ca418.zip |
Bluetooth: Set txwin values for streaming mode
The transmit window values must be configured for streaming mode, even
though streaming mode does not have a window. This enables use of
extended headers when the transmit window socket option is set to 64
or larger.
Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 288c8e660377..db59b259297f 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -2941,6 +2941,7 @@ done: break; case L2CAP_MODE_STREAMING: + l2cap_txwin_setup(chan); rfc.mode = L2CAP_MODE_STREAMING; rfc.txwin_size = 0; rfc.max_transmit = 0; |