From: Andrei Emeltchenko Date: Wed, 10 Oct 2012 14:38:26 +0000 (+0300) Subject: Bluetooth: Allow to set flush timeout X-Git-Tag: firefly_0821_release~3680^2~1480^2~17^2~353^2~21 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=12d5978165944a9c5b059a8258685539387fcf90;p=firefly-linux-kernel-4.4.55.git Bluetooth: Allow to set flush timeout Enable setting of flush timeout via setsockopt Signed-off-by: Andrei Emeltchenko Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- 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: