diff --git a/nimble/host/test/src/ble_hs_hci_test.c b/nimble/host/test/src/ble_hs_hci_test.c index cbfda3599..fee025318 100644 --- a/nimble/host/test/src/ble_hs_hci_test.c +++ b/nimble/host/test/src/ble_hs_hci_test.c @@ -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);