btio: Remove the default security level from btio
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Tue, 24 Jan 2012 13:57:22 +0000 (10:57 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 26 Jan 2012 06:22:24 +0000 (22:22 -0800)
commitfc114ada8dbe6b28c1d0de21460ff1282242db6d
treeba0115af2a602f27a2ab5c1c069fa60a4df7e694
parent38c652597914015e044f693fc19894a7bdbeb12d
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.
btio/btio.c