summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rfid_layer2_iso15693.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfid_layer2_iso15693.c b/src/rfid_layer2_iso15693.c
index 5547ec9..a1ecd2b 100644
--- a/src/rfid_layer2_iso15693.c
+++ b/src/rfid_layer2_iso15693.c
@@ -421,7 +421,7 @@ iso15693_setopt(struct rfid_layer2_handle *handle, int optname,
if (val)
handle->priv.iso15693.use_afi = 1;
else
- handle->priv.iso15693.use_afi = 1;
+ handle->priv.iso15693.use_afi = 0;
break;
case RFID_OPT_15693_AFI:
if (val > 0xff)
personal git repositories of Harald Welte. Your mileage may vary