mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-22 04:13:30 +08:00
tools/l2cap-tester: Make setup_powered_server() enable LE advertising when necessary
This commit is contained in:
parent
a98b18079c
commit
9debd78bfa
@ -400,6 +400,8 @@ static void setup_powered_server(const void *test_data)
|
||||
} else {
|
||||
mgmt_send(data->mgmt, MGMT_OP_SET_LE, data->mgmt_index,
|
||||
sizeof(param), param, NULL, NULL, NULL);
|
||||
mgmt_send(data->mgmt, MGMT_OP_SET_ADVERTISING, data->mgmt_index,
|
||||
sizeof(param), param, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
mgmt_send(data->mgmt, MGMT_OP_SET_POWERED, data->mgmt_index,
|
||||
|
Loading…
Reference in New Issue
Block a user