mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
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>
This commit is contained in:
parent
6ea0048575
commit
273759e2c3
1 changed files with 1 additions and 0 deletions
|
@ -2941,6 +2941,7 @@ static int l2cap_build_conf_req(struct l2cap_chan *chan, void *data)
|
|||
break;
|
||||
|
||||
case L2CAP_MODE_STREAMING:
|
||||
l2cap_txwin_setup(chan);
|
||||
rfc.mode = L2CAP_MODE_STREAMING;
|
||||
rfc.txwin_size = 0;
|
||||
rfc.max_transmit = 0;
|
||||
|
|
Loading…
Reference in a new issue