Stop "LLC length mis-match" log spam
Happens on all Sony fusion3 devices, probably others.
The message is not present in stock libnfc.so, most
probably Sony decided to remove/comment it too.
PS2: change to ALOGV instead...
Change-Id: Ib4faa0c571747a874eb582f411bf464622f25d92
(cherry picked from commit 6b8b533fb75d3c356d3fba382d70c4704ed01399)
diff --git a/src/phLlcNfc_Interface.c b/src/phLlcNfc_Interface.c
index 7f3336d..5b40269 100644
--- a/src/phLlcNfc_Interface.c
+++ b/src/phLlcNfc_Interface.c
@@ -919,7 +919,7 @@
}
} else if (NFCSTATUS_READ_FAILED == pCompInfo->status) {
// partial read - try reading the length byte again
- ALOGW("LLC length mis-match\n");
+ ALOGV("LLC length mis-match\n");
ps_frame_info->recv_error_count = (uint8_t)
(ps_frame_info->recv_error_count + 1);
libnfc_llc_error_count++;