himble/hci: Update ble_hs_hci_test to accommodate the new acl_buf_size.

This commit is contained in:
mfarag13
2019-04-05 10:35:47 +02:00
committed by Andrzej Kaczmarek
parent 4a8946786e
commit 646cbdd0f8
+4 -4
View File
@@ -103,8 +103,8 @@ TEST_CASE_SELF(ble_hs_hci_acl_one_conn)
ble_hs_test_util_init();
/* The controller has room for five 20-byte payloads (+ 4-byte header). */
rc = ble_hs_hci_set_buf_sz(24, 5);
/* The controller has room for five 20-byte payloads. */
rc = ble_hs_hci_set_buf_sz(20, 5);
TEST_ASSERT_FATAL(rc == 0);
TEST_ASSERT_FATAL(ble_hs_hci_avail_pkts == 5);
@@ -191,8 +191,8 @@ TEST_CASE_SELF(ble_hs_hci_acl_two_conn)
ble_hs_test_util_init();
/* The controller has room for five 20-byte payloads (+ 4-byte header). */
rc = ble_hs_hci_set_buf_sz(24, 5);
/* The controller has room for five 20-byte payloads*/
rc = ble_hs_hci_set_buf_sz(20, 5);
TEST_ASSERT_FATAL(rc == 0);
TEST_ASSERT_FATAL(ble_hs_hci_avail_pkts == 5);