mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 05:49:27 +00:00
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
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user