diff options
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2012-01-24 10:57:22 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-01-25 22:22:24 -0800 |
commit | fc114ada8dbe6b28c1d0de21460ff1282242db6d (patch) | |
tree | ba0115af2a602f27a2ab5c1c069fa60a4df7e694 /btio | |
parent | 38c652597914015e044f693fc19894a7bdbeb12d (diff) | |
download | ofono-fc114ada8dbe6b28c1d0de21460ff1282242db6d.tar.bz2 |
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.
Diffstat (limited to 'btio')
-rw-r--r-- | btio/btio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/btio/btio.c b/btio/btio.c index 77ddb1df..825907dc 100644 --- a/btio/btio.c +++ b/btio/btio.c @@ -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; |