summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rfid_asic_rc632.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/rfid_asic_rc632.c b/rfid_asic_rc632.c
index fac968b..234e7ab 100644
--- a/rfid_asic_rc632.c
+++ b/rfid_asic_rc632.c
@@ -352,6 +352,13 @@ rc632_init(struct rfid_asic_handle *ah)
{
int ret;
+ /* switch off rf (make sure PICCs are reset at init time) */
+ ret = rc632_power_down(ah);
+ if (ret < 0)
+ return ret;
+
+ usleep(10000);
+
/* switch on rf */
ret = rc632_power_up(ah);
if (ret < 0)
personal git repositories of Harald Welte. Your mileage may vary