diff options
author | Mat Martineau <mathewm@codeaurora.org> | 2011-11-03 00:18:30 +0100 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-11-07 20:25:00 +0100 |
commit | 2ea664822af6705574dfbbf8c77fc7d75a94e9b3 (patch) | |
tree | 7fd806a991ac52244b2cb233b8e0798b5c84fde5 /include/net/bluetooth | |
parent | Bluetooth: Change scope of the enable_hs module parameter (diff) | |
download | linux-2ea664822af6705574dfbbf8c77fc7d75a94e9b3.tar.xz linux-2ea664822af6705574dfbbf8c77fc7d75a94e9b3.zip |
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>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 1a62573dbd67..9c7d06e6b987 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h @@ -367,6 +367,7 @@ struct l2cap_chan { __u16 flush_to; __u8 mode; __u8 chan_type; + __u8 chan_policy; __le16 sport; |