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>
This commit is contained in:
@ -183,8 +183,8 @@ struct rfcomm_dlc {
|
||||
u8 remote_v24_sig;
|
||||
u8 mscex;
|
||||
u8 out;
|
||||
|
||||
u32 link_mode;
|
||||
u8 sec_level;
|
||||
u8 role_switch;
|
||||
u32 defer_setup;
|
||||
|
||||
uint mtu;
|
||||
@ -307,7 +307,8 @@ struct rfcomm_pinfo {
|
||||
struct bt_sock bt;
|
||||
struct rfcomm_dlc *dlc;
|
||||
u8 channel;
|
||||
u32 link_mode;
|
||||
u8 sec_level;
|
||||
u8 role_switch;
|
||||
};
|
||||
|
||||
int rfcomm_init_sockets(void);
|
||||
|
Reference in New Issue
Block a user