aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-15 21:58:38 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-02-27 06:14:26 +0100
commit2af6b9d518ddfbc4d6990d5f9c9b1a05341c1cef (patch)
tree62b6f679495026ccf64c1b71d48cede452689b73 /include/net/bluetooth
parentBluetooth: Add enhanced security model for Simple Pairing (diff)
downloadlinux-dev-2af6b9d518ddfbc4d6990d5f9c9b1a05341c1cef.tar.xz
linux-dev-2af6b9d518ddfbc4d6990d5f9c9b1a05341c1cef.zip
Bluetooth: Replace L2CAP link mode with security level
Change the L2CAP internals to use the new security levels and remove the link mode details. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/l2cap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 73e115bc12dd..29f720e6188a 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -237,8 +237,9 @@ struct l2cap_pinfo {
__u16 imtu;
__u16 omtu;
__u16 flush_to;
-
- __u32 link_mode;
+ __u8 sec_level;
+ __u8 role_switch;
+ __u8 force_reliable;
__u8 conf_req[64];
__u8 conf_len;