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:
Vinicius Costa Gomes 2012-01-24 10:57:22 -03:00 committed by Marcel Holtmann
parent 38c6525979
commit fc114ada8d
1 changed files with 0 additions and 1 deletions

View File

@ -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;