From 4d65868208ece177f44177787803b5999aed5d42 Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Fri, 4 Mar 2011 11:23:20 +0000 Subject: [PATCH] Only call pn53x_init() from the drivers initialization functions. --- libnfc/nfc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libnfc/nfc.c b/libnfc/nfc.c index e41ee85..1fe2c57 100644 --- a/libnfc/nfc.c +++ b/libnfc/nfc.c @@ -109,10 +109,6 @@ nfc_connect (nfc_device_desc_t * pndd) if (pnd != NULL) { DBG ("[%s] has been claimed.", pnd->acName); - // TODO: Put this pn53x related in driver_init() - if (!pn53x_init (pnd)) - return NULL; - // Set default configuration options // Make sure we reset the CRC and parity to chip handling. if (!nfc_configure (pnd, NDO_HANDLE_CRC, true))