nimble: Fix for failing unit tests

X-Original-Commit: 06696776610c38575d52d47e712f238f2c62638f
This commit is contained in:
Łukasz Rymanowski
2018-02-12 15:28:28 +01:00
parent fb69e531ed
commit fadb671268
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ ble_hs_pvcy_test_util_start_host(int num_expected_irks)
TEST_ASSERT_FATAL(rc == 0);
/* Discard startup HCI commands. */
ble_hs_test_util_hci_out_adj(12);
ble_hs_test_util_hci_out_adj(13);
}
static void
@@ -250,6 +250,12 @@ ble_hs_test_util_hci_ack_set_startup(void)
.opcode = ble_hs_hci_util_opcode_join(BLE_HCI_OGF_CTLR_BASEBAND,
BLE_HCI_OCF_CB_RESET),
},
{
.opcode = ble_hs_hci_util_opcode_join(
BLE_HCI_OGF_INFO_PARAMS, BLE_HCI_OCF_IP_RD_LOCAL_VER),
.evt_params = { 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
.evt_params_len = 8,
},
{
.opcode = ble_hs_hci_util_opcode_join(
BLE_HCI_OGF_CTLR_BASEBAND, BLE_HCI_OCF_CB_SET_EVENT_MASK),