]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 3 Nov 2011 14:27:50 +0000 (12:27 -0200)
commit701403b35f3fc3866e0b09bfa53dd1bf895aae2a
treee4a3336b78585f854bbb1057597f397ee37d853e
parent28d0cef65d0cf4115bd813159d7e370d7232fe0e
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