From 0e0da0d6b8adb79815c459c95eb64fbdebc0d341 Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 8 Feb 2008 15:13:28 +0000 Subject: fix typo in 15693 AFI setopt implementation (Bjoern Riemer) git-svn-id: https://svn.gnumonks.org/trunk/librfid@2079 e0336214-984f-0b4b-a45f-81c69e1f0ede --- src/rfid_layer2_iso15693.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3