diff options
Diffstat (limited to 'acr122bug.patch')
-rw-r--r-- | acr122bug.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/acr122bug.patch b/acr122bug.patch new file mode 100644 index 000000000000..956c599a090d --- /dev/null +++ b/acr122bug.patch @@ -0,0 +1,20 @@ +diff --git a/libnfc/drivers/acr122_usb.c b/libnfc/drivers/acr122_usb.c +index a6392e8..16eddef 100644 +--- a/libnfc/drivers/acr122_usb.c ++++ b/libnfc/drivers/acr122_usb.c +@@ -427,13 +427,13 @@ acr122_usb_open(const nfc_context *context, const nfc_connstring connstring) + goto free_mem; + } + +- res = usb_set_altinterface(data.pudh, 0); ++ /*res = usb_set_altinterface(data.pudh, 0); + if (res < 0) { + log_put(LOG_GROUP, LOG_CATEGORY, NFC_LOG_PRIORITY_ERROR, "Unable to set alternate setting on USB interface (%s)", _usb_strerror(res)); + usb_close(data.pudh); + // we failed to use the specified device + goto free_mem; +- } ++ }*/ + + // Allocate memory for the device info and specification, fill it and return the info + pnd = nfc_device_new(context, connstring); |