From 17f8882d78bc9a922ee9b9deada3462e7909623d Mon Sep 17 00:00:00 2001 From: Alisher Alikhodjaev Date: Tue, 9 Jan 2024 13:16:11 -0800 Subject: [PATCH] Per NCI spec there is no need to wait for credits Bug: 312911587 Test: no regresions Change-Id: Ie7952b6618cd2b191b85904b3c1d4c544ba85618 (cherry picked from commit 93f1bf2bd357b709317ed08784727f405c7e71da) --- nfc/1.0/vts/functional/VtsHalNfcV1_0TargetTest.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nfc/1.0/vts/functional/VtsHalNfcV1_0TargetTest.cpp b/nfc/1.0/vts/functional/VtsHalNfcV1_0TargetTest.cpp index 4d997e6569..b36735f768 100644 --- a/nfc/1.0/vts/functional/VtsHalNfcV1_0TargetTest.cpp +++ b/nfc/1.0/vts/functional/VtsHalNfcV1_0TargetTest.cpp @@ -296,12 +296,6 @@ TEST_P(NfcHidlTest, WriteInvalidAndThenValidCommand) { 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); - } // Send an Error Data Packet cmd = INVALID_COMMAND; data = cmd;