Commit 12d59781 authored by Andrei Emeltchenko's avatar Andrei Emeltchenko Committed by Gustavo Padovan

Bluetooth: Allow to set flush timeout

Enable setting of flush timeout via setsockopt
Signed-off-by: default avatarAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
parent 5bcb8094
...@@ -529,6 +529,7 @@ static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, char __us ...@@ -529,6 +529,7 @@ static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, char __us
chan->fcs = opts.fcs; chan->fcs = opts.fcs;
chan->max_tx = opts.max_tx; chan->max_tx = opts.max_tx;
chan->tx_win = opts.txwin_size; chan->tx_win = opts.txwin_size;
chan->flush_to = opts.flush_to;
break; break;
case L2CAP_LM: case L2CAP_LM:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment