]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add channel policy to getsockopt/setsockopt
authorMat Martineau <mathewm@codeaurora.org>
Wed, 2 Nov 2011 23:18:30 +0000 (16:18 -0700)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 7 Nov 2011 19:25:00 +0000 (17:25 -0200)
commita44f1992e558359554956ea372d2070e21fc9e92
tree7fd806a991ac52244b2cb233b8e0798b5c84fde5
parentaa5a5dd2f3c895b57e2caa802831b68d43b546d1
Bluetooth: Add channel policy to getsockopt/setsockopt

Each channel has a policy to require BR/EDR (the default),
prefer BR/EDR, or prefer AMP.

Check for valid policy value and L2CAP mode.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Acked-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_sock.c