Bluetooth: Allow setting of L2CAP ERTM via socket option
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 3 May 2009 05:31:10 +0000 (22:31 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 22 Aug 2009 21:50:07 +0000 (14:50 -0700)
commitc6b03cf986eab00e20d0dbc852b233bb83472138
tree94fe92aafca068e3eb1cd6f4c53a3c86801fe7e0
parent44dd46de325c4d47abfd1361e5d84a548edb8e42
Bluetooth: Allow setting of L2CAP ERTM via socket option

To enable Enhanced Retransmission mode it needs to be set via a socket
option. A different mode can be set on a socket, but on listen() and
connect() the mode is checked and ERTM is only allowed if it is enabled
via the module parameter.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap.c