Diff between 512b6897983748a907e6d7a6c35bd8b724ba5bde and 21acd8257bbaee96bfe0c7df046c8fd4b32c9aca

Changed Files

File Additions Deletions Status
tools/mgmt-tester.c +8 -0 modified

Full Patch

diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c
index 63d3303..1609232 100644
--- a/tools/mgmt-tester.c
+++ b/tools/mgmt-tester.c
@@ -2287,6 +2287,8 @@ static const struct generic_data pair_device_success_test_1 = {
 	.send_func = pair_device_send_param_func,
 	.expect_status = MGMT_STATUS_SUCCESS,
 	.expect_func = pair_device_expect_param_func,
+	.expect_alt_ev = MGMT_EV_NEW_LINK_KEY,
+	.expect_alt_ev_len = 26,
 	.expect_hci_command = BT_HCI_CMD_AUTH_REQUESTED,
 	.expect_hci_param = auth_req_param,
 	.expect_hci_len = sizeof(auth_req_param),
@@ -2307,6 +2309,8 @@ static const struct generic_data pair_device_success_test_2 = {
 	.send_func = pair_device_send_param_func,
 	.expect_status = MGMT_STATUS_SUCCESS,
 	.expect_func = pair_device_expect_param_func,
+	.expect_alt_ev = MGMT_EV_NEW_LINK_KEY,
+	.expect_alt_ev_len = 26,
 	.expect_hci_command = BT_HCI_CMD_AUTH_REQUESTED,
 	.expect_hci_param = auth_req_param,
 	.expect_hci_len = sizeof(auth_req_param),
@@ -2389,6 +2393,8 @@ static const struct generic_data pair_device_ssp_test_1 = {
 	.send_func = pair_device_send_param_func,
 	.expect_status = MGMT_STATUS_SUCCESS,
 	.expect_func = pair_device_expect_param_func,
+	.expect_alt_ev = MGMT_EV_NEW_LINK_KEY,
+	.expect_alt_ev_len = 26,
 	.expect_hci_command = BT_HCI_CMD_USER_CONFIRM_REQUEST_REPLY,
 	.expect_hci_func = client_bdaddr_param_func,
 	.io_cap = 0x03, /* NoInputNoOutput */
@@ -2402,6 +2408,8 @@ static const struct generic_data pair_device_ssp_test_2 = {
 	.send_func = pair_device_send_param_func,
 	.expect_status = MGMT_STATUS_SUCCESS,
 	.expect_func = pair_device_expect_param_func,
+	.expect_alt_ev = MGMT_EV_NEW_LINK_KEY,
+	.expect_alt_ev_len = 26,
 	.expect_hci_command = BT_HCI_CMD_USER_CONFIRM_REQUEST_REPLY,
 	.expect_hci_func = client_bdaddr_param_func,
 	.io_cap = 0x01, /* DisplayYesNo */