Search Linux Wireless

[PATCH 13/23] nfctype5: Reduce noise when tag is moved out of range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The NFC Type 5 tag code prints a message whenever it receives an
error.  This makes it extra noisy compared to the other tag types
whenever a tag is moved out of range.  Instead, reduce that noise
by turning the error message into a debug message.

Signed-off-by: Mark Greer <mgreer@xxxxxxxxxxxxxxx>
---
 plugins/nfctype5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/nfctype5.c b/plugins/nfctype5.c
index 1beb3a8..2fccec5 100644
--- a/plugins/nfctype5.c
+++ b/plugins/nfctype5.c
@@ -226,7 +226,7 @@ static int t5_check_resp(uint8_t *resp, int length)
 	DBG("");
 
 	if (length < 0) {
-		near_error("Cmd failure: %d", length);
+		DBG("Cmd failure: %d", length);
 		err = length;
 	} else if (resp[0]) {
 		near_error("NFC Failure: 0x%x", resp[0]);
-- 
2.13.0




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux