summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-02-08 15:13:28 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2008-02-08 15:13:28 +0000
commit0e0da0d6b8adb79815c459c95eb64fbdebc0d341 (patch)
tree8bf24ceb76aaafe299bb0d8a6abf5a15284d4f3c
parente3d49c4785528982b87e22628080e5447713913b (diff)
fix typo in 15693 AFI setopt implementation (Bjoern Riemer)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@2079 e0336214-984f-0b4b-a45f-81c69e1f0ede
-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