From: Mat Martineau Date: Fri, 18 May 2012 03:53:53 +0000 (-0700) Subject: Bluetooth: Set txwin values for streaming mode X-Git-Tag: v3.12-rc1~2707^2~57^2~2^2~121 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=273759e2c3bd69efe74799c446df69d9ea5ca418;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Gustavo Padovan --- diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 288c8e6..db59b25 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;