OSDN Git Service

tools/mgmt-tester: Minor fix in Stop discovery Success 1 test
authorLukasz Rymanowski <lukasz.rymanowski@tieto.com>
Thu, 20 Mar 2014 13:25:08 +0000 (14:25 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 20 Mar 2014 14:16:06 +0000 (16:16 +0200)
Set directly setup_send params for start discovery. It will be easier to
follow the test.

tools/mgmt-tester.c

index 3d80a2a..3271e86 100644 (file)
@@ -1722,6 +1722,8 @@ static const char stop_discovery_inq_param[] = { 0x33, 0x8b, 0x9e, 0x08, 0x00 };
 static const struct generic_data stop_discovery_success_test_1 = {
        .setup_settings = settings_powered_le,
        .setup_send_opcode = MGMT_OP_START_DISCOVERY,
+       .setup_send_param = start_discovery_bredrle_param,
+       .setup_send_len = sizeof(start_discovery_bredrle_param),
        .send_opcode = MGMT_OP_STOP_DISCOVERY,
        .send_param = stop_discovery_bredrle_param,
        .send_len = sizeof(stop_discovery_bredrle_param),