diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-15 15:58:40 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-02-27 00:14:26 -0500 |
commit | 9f2c8a03fbb3048cf38b158f87aa0c3c09bca084 (patch) | |
tree | b8e81e5a8e3f0b8b8a15c06f1cf36e8aa02644e2 /include/net/bluetooth | |
parent | 2af6b9d518ddfbc4d6990d5f9c9b1a05341c1cef (diff) |
Bluetooth: Replace RFCOMM link mode with security level
Change the RFCOMM 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/rfcomm.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/net/bluetooth/rfcomm.h b/include/net/bluetooth/rfcomm.h index 71b45f459687..bda68d833ddd 100644 --- a/include/net/bluetooth/rfcomm.h +++ b/include/net/bluetooth/rfcomm.h | |||
@@ -183,8 +183,8 @@ struct rfcomm_dlc { | |||
183 | u8 remote_v24_sig; | 183 | u8 remote_v24_sig; |
184 | u8 mscex; | 184 | u8 mscex; |
185 | u8 out; | 185 | u8 out; |
186 | 186 | u8 sec_level; | |
187 | u32 link_mode; | 187 | u8 role_switch; |
188 | u32 defer_setup; | 188 | u32 defer_setup; |
189 | 189 | ||
190 | uint mtu; | 190 | uint mtu; |
@@ -307,7 +307,8 @@ struct rfcomm_pinfo { | |||
307 | struct bt_sock bt; | 307 | struct bt_sock bt; |
308 | struct rfcomm_dlc *dlc; | 308 | struct rfcomm_dlc *dlc; |
309 | u8 channel; | 309 | u8 channel; |
310 | u32 link_mode; | 310 | u8 sec_level; |
311 | u8 role_switch; | ||
311 | }; | 312 | }; |
312 | 313 | ||
313 | int rfcomm_init_sockets(void); | 314 | int rfcomm_init_sockets(void); |