diff options
-rw-r--r-- | tools/mgmt-tester.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index 1609232af..b9221ffda 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -2338,6 +2338,8 @@ static const struct generic_data pair_device_reject_test_1 = { .send_func = pair_device_send_param_func, .expect_status = MGMT_STATUS_AUTH_FAILED, .expect_func = pair_device_expect_param_func, + .expect_alt_ev = MGMT_EV_AUTH_FAILED, + .expect_alt_ev_len = 8, .expect_hci_command = BT_HCI_CMD_PIN_CODE_REQUEST_NEG_REPLY, .expect_hci_func = client_bdaddr_param_func, .expect_pin = true, @@ -2351,6 +2353,8 @@ static const struct generic_data pair_device_reject_test_2 = { .send_func = pair_device_send_param_func, .expect_status = MGMT_STATUS_AUTH_FAILED, .expect_func = pair_device_expect_param_func, + .expect_alt_ev = MGMT_EV_AUTH_FAILED, + .expect_alt_ev_len = 8, .expect_hci_command = BT_HCI_CMD_AUTH_REQUESTED, .expect_hci_param = auth_req_param, .expect_hci_len = sizeof(auth_req_param), @@ -2423,6 +2427,8 @@ static const struct generic_data pair_device_ssp_reject_1 = { .send_func = pair_device_send_param_func, .expect_status = MGMT_STATUS_AUTH_FAILED, .expect_func = pair_device_expect_param_func, + .expect_alt_ev = MGMT_EV_AUTH_FAILED, + .expect_alt_ev_len = 8, .expect_hci_command = BT_HCI_CMD_USER_CONFIRM_REQUEST_NEG_REPLY, .expect_hci_func = client_bdaddr_param_func, .io_cap = 0x01, /* DisplayYesNo */ @@ -2437,6 +2443,8 @@ static const struct generic_data pair_device_ssp_reject_2 = { .send_func = pair_device_send_param_func, .expect_status = MGMT_STATUS_AUTH_FAILED, .expect_func = pair_device_expect_param_func, + .expect_alt_ev = MGMT_EV_AUTH_FAILED, + .expect_alt_ev_len = 8, .expect_hci_command = BT_HCI_CMD_USER_CONFIRM_REQUEST_REPLY, .expect_hci_func = client_bdaddr_param_func, .io_cap = 0x01, /* DisplayYesNo */ @@ -2451,6 +2459,8 @@ static const struct generic_data pair_device_ssp_nonpairable_1 = { .send_func = pair_device_send_param_func, .expect_status = MGMT_STATUS_AUTH_FAILED, .expect_func = pair_device_expect_param_func, + .expect_alt_ev = MGMT_EV_AUTH_FAILED, + .expect_alt_ev_len = 8, .io_cap = 0x01, /* DisplayYesNo */ .client_io_cap = 0x01, /* DisplayYesNo */ }; |