diff options
author | Alisher Alikhodjaev <alisher@google.com> | 2024-01-11 16:24:26 -0800 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2024-01-18 17:29:52 +0000 |
commit | 78c233dc0329f72958151f222c48d8d25ccc7ffd (patch) | |
tree | 7a5dda01319858b7e658e9d73d16c5966e6f4ecf | |
parent | 4c7a5de9577abc44467426684e9bfba367e56dfc (diff) | |
download | interfaces-78c233dc0329f72958151f222c48d8d25ccc7ffd.tar.gz |
Per NCI spec there is no need to wait for credits
One case was missed in the previous fix.
This is an update.
Bug: 312911587
Test: no regressions
Change-Id: I7fefa92d5a66581431288ec902a56ed61e9cf310
(cherry picked from commit 46d9630125b3d1c6d7c0b62b0a63fbe9c08b2838)
-rw-r--r-- | nfc/1.0/vts/functional/VtsHalNfcV1_0TargetTest.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/nfc/1.0/vts/functional/VtsHalNfcV1_0TargetTest.cpp b/nfc/1.0/vts/functional/VtsHalNfcV1_0TargetTest.cpp index b36735f768..8210ff04cf 100644 --- a/nfc/1.0/vts/functional/VtsHalNfcV1_0TargetTest.cpp +++ b/nfc/1.0/vts/functional/VtsHalNfcV1_0TargetTest.cpp @@ -354,13 +354,6 @@ TEST_P(NfcHidlTest, Bandwidth) { res = nfc_cb_->WaitForCallback(kCallbackNameSendData); EXPECT_TRUE(res.no_timeout); EXPECT_EQ((int)NfcStatus::OK, res.args->last_data_[3]); - if (nci_version == NCI_VERSION_2 && res.args->last_data_.size() > 13 && - res.args->last_data_[13] == 0x00) { - // Wait for CORE_CONN_CREDITS_NTF - res = nfc_cb_->WaitForCallback(kCallbackNameSendData); - EXPECT_TRUE(res.no_timeout); - } - cmd = CORE_CONN_CREATE_CMD; data = cmd; EXPECT_EQ(data.size(), nfc_->write(data)); |