From: Andrei Emeltchenko Date: Wed, 10 Oct 2012 14:38:26 +0000 (+0300) Subject: Bluetooth: Allow to set flush timeout X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=12d5978165944a9c5b059a8258685539387fcf90;p=linux-beck.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: