summaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-10-10 14:38:26 (GMT)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-10-11 06:29:02 (GMT)
commit12d5978165944a9c5b059a8258685539387fcf90 (patch)
tree17d3799ce5a146fac0fce7600fae1e181570f1eb /net/bluetooth
parent5bcb80944dffe68055c1745dc919d22ee1e276a5 (diff)
downloadlinux-12d5978165944a9c5b059a8258685539387fcf90.tar.xz
Bluetooth: Allow to set flush timeout
Enable setting of flush timeout via setsockopt Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/l2cap_sock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c
index af467ce..ed2dfc9 100644
--- a/net/bluetooth/l2cap_sock.c
+++ b/net/bluetooth/l2cap_sock.c
@@ -529,6 +529,7 @@ static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, char __us
chan->fcs = opts.fcs;
chan->max_tx = opts.max_tx;
chan->tx_win = opts.txwin_size;
+ chan->flush_to = opts.flush_to;
break;
case L2CAP_LM: