tools/l2cap-tester: Test setsockopt(BT_SECURITY) on LE client

Although setting a security level using setsockopt(BT_SECURITY) is
optional for LE sockets (it will default to doing
unencrypted/unauthenticated connection), it is a common operation and it
is done by BlueZ daemon and some tools.
This commit is contained in:
Anderson Lizardo 2014-01-24 21:54:01 -04:00 committed by Johan Hedberg
parent ccbbb8dd3c
commit e34d1c0481

View File

@ -461,6 +461,7 @@ static const struct l2cap_data le_server_success_test = {
static const struct l2cap_data le_att_client_connect_success_test_1 = {
.cid = 0x0004,
.sec_level = BT_SECURITY_LOW,
};
static const struct l2cap_data le_att_server_success_test_1 = {