mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-26 13:44:23 +08:00
tools/l2cap-tester: Fix missing pairable setting enabling
This commit is contained in:
parent
579876ea9e
commit
9e02000353
@ -491,6 +491,10 @@ static void setup_powered_client(const void *test_data)
|
||||
|
||||
tester_print("Powering on controller");
|
||||
|
||||
mgmt_send(data->mgmt, MGMT_OP_SET_PAIRABLE, data->mgmt_index,
|
||||
sizeof(param), param,
|
||||
NULL, NULL, NULL);
|
||||
|
||||
if (data->hciemu_type == HCIEMU_TYPE_LE)
|
||||
mgmt_send(data->mgmt, MGMT_OP_SET_LE, data->mgmt_index,
|
||||
sizeof(param), param, NULL, NULL, NULL);
|
||||
@ -527,6 +531,9 @@ static void setup_powered_server(const void *test_data)
|
||||
sizeof(param), param, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
mgmt_send(data->mgmt, MGMT_OP_SET_PAIRABLE, data->mgmt_index,
|
||||
sizeof(param), param, NULL, NULL, NULL);
|
||||
|
||||
mgmt_send(data->mgmt, MGMT_OP_SET_POWERED, data->mgmt_index,
|
||||
sizeof(param), param, setup_powered_server_callback,
|
||||
NULL, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user