From c181cb35ecfc36cd9127a57bece9ae118904933d Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Wed, 14 Dec 2011 15:03:29 +0000 Subject: [PATCH] set correctly default timeout values --- libnfc/chips/pn53x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libnfc/chips/pn53x.c b/libnfc/chips/pn53x.c index cf29ac3..e62f1d2 100644 --- a/libnfc/chips/pn53x.c +++ b/libnfc/chips/pn53x.c @@ -2679,10 +2679,10 @@ pn53x_data_new (nfc_device *pnd, const struct pn53x_io *io) CHIP_DATA (pnd)->timeout_command = 500; // Set default ATR timeout (103 ms) - CHIP_DATA (pnd)->timeout_command = 103; + CHIP_DATA (pnd)->timeout_atr = 103; // Set default communication timeout (52 ms) - CHIP_DATA (pnd)->timeout_command = 52; + CHIP_DATA (pnd)->timeout_communication = 52; } void