mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Per NCI spec there is no need to wait for credits
Bug: 312911587 Test: no regresions Change-Id: Ie7952b6618cd2b191b85904b3c1d4c544ba85618
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user