summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/l2cap_sock.c
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-10-10 17:38:26 +0300
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-10-11 14:29:02 +0800
commit12d5978165944a9c5b059a8258685539387fcf90 (patch)
tree17d3799ce5a146fac0fce7600fae1e181570f1eb /net/bluetooth/l2cap_sock.c
parent5bcb80944dffe68055c1745dc919d22ee1e276a5 (diff)
downloadlinux-12d5978165944a9c5b059a8258685539387fcf90.tar.bz2
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/l2cap_sock.c')
-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 af467ce2cf2b..ed2dfc942c3c 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: