From 5446242094ab31d9e42d531ec863d21324f5939f Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 30 Jan 2013 01:27:18 +0100 Subject: [PATCH] acr122_usb: remove pn53x_idle support. Fixes issue #217 --- libnfc/drivers/acr122_usb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libnfc/drivers/acr122_usb.c b/libnfc/drivers/acr122_usb.c index e469aba..020a6b9 100644 --- a/libnfc/drivers/acr122_usb.c +++ b/libnfc/drivers/acr122_usb.c @@ -552,8 +552,6 @@ acr122_usb_close(nfc_device *pnd) { acr122_usb_ack(pnd); - pn53x_idle(pnd); - int res; if ((res = usb_release_interface(DRIVER_DATA(pnd)->pudh, 0)) < 0) { log_put(LOG_GROUP, LOG_CATEGORY, NFC_LOG_PRIORITY_ERROR, "Unable to release USB interface (%s)", _usb_strerror(res)); @@ -895,5 +893,5 @@ const struct nfc_driver acr122_usb_driver = { .device_get_information_about = pn53x_get_information_about, .abort_command = acr122_usb_abort_command, - .idle = pn53x_idle, + .idle = NULL, // Even with a PN532, PowerDown doesn't seem a good idea here };