Hi, On Wed, Jun 12, 2013, Bruna Moreira wrote: > Add second controller to tester and let a testcase start discovery and > receive Device Found events. > --- > tools/mgmt-tester.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 73 insertions(+), 1 deletion(-) > > diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c > index cbff775..a27b2e2 100644 > --- a/tools/mgmt-tester.c > +++ b/tools/mgmt-tester.c > @@ -56,6 +56,8 @@ struct test_data { > uint16_t mgmt_index; > struct hciemu *hciemu; > enum hciemu_type hciemu_type; > + struct hciemu *hciemu_second; > + uint16_t mgmt_index_second; > int unmet_conditions; > }; It seems to me that this is exactly why bthost exists, i.e. the hciemu instance already contains a peer controller combined with an emulated host stack. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html