mirror of git://git.sysmocom.de/ofono
btio: Remove the default security level from btio
The default value of sec_level when setting *any* option using bt_io_set() was BT_SECURITY_MEDIUM. This was causing the security procedure being started in some situations that it should not.
This commit is contained in:
parent
38c6525979
commit
fc114ada8d
|
@ -695,7 +695,6 @@ static gboolean parse_set_opts(struct set_opts *opts, GError **err,
|
|||
/* Set defaults */
|
||||
opts->defer = DEFAULT_DEFER_TIMEOUT;
|
||||
opts->master = -1;
|
||||
opts->sec_level = BT_IO_SEC_MEDIUM;
|
||||
opts->mode = L2CAP_MODE_BASIC;
|
||||
opts->flushable = -1;
|
||||
opts->priority = 0;
|
||||
|
|
Loading…
Reference in New Issue