aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-10-10 10:38:26 -0400
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-10-11 02:29:02 -0400
commit12d5978165944a9c5b059a8258685539387fcf90 (patch)
tree17d3799ce5a146fac0fce7600fae1e181570f1eb
parent5bcb80944dffe68055c1745dc919d22ee1e276a5 (diff)
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>
-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
529 chan->fcs = opts.fcs; 529 chan->fcs = opts.fcs;
530 chan->max_tx = opts.max_tx; 530 chan->max_tx = opts.max_tx;
531 chan->tx_win = opts.txwin_size; 531 chan->tx_win = opts.txwin_size;
532 chan->flush_to = opts.flush_to;
532 break; 533 break;
533 534
534 case L2CAP_LM: 535 case L2CAP_LM: