tools/l2cap-tester: Make setup_powered_server() enable LE advertising when necessary

This commit is contained in:
Johan Hedberg 2013-09-24 16:11:00 +03:00
parent a98b18079c
commit 9debd78bfa

View File

@ -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,