OSDN Git Service

tools/mgmt-tester: Fix invalid settings for power off test case
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 10 Nov 2015 12:33:03 +0000 (14:33 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 10 Nov 2015 12:33:03 +0000 (14:33 +0200)
The test that's supposed to verify correct "power off" error response
shouldn't be powering on the adapter in the setup stage.

tools/mgmt-tester.c

index 2f460c5..0dd7990 100644 (file)
@@ -1857,7 +1857,7 @@ static const struct generic_data start_discovery_valid_param_test_2 = {
 };
 
 static const struct generic_data start_discovery_valid_param_power_off_1 = {
-       .setup_settings = settings_powered_le,
+       .setup_settings = settings_le,
        .send_opcode = MGMT_OP_START_DISCOVERY,
        .send_param = start_discovery_bredrle_param,
        .send_len = sizeof(start_discovery_bredrle_param),