summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-09-11 20:01:03 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2005-09-11 20:01:03 +0000
commit2679662441a554600eba4a43edf4a582411cc6e8 (patch)
tree2f715da33f8d37376dcc234a8caa56aca3d85fc6
parent502a606d5bdb0093afab92cd47f052d4e0454503 (diff)
fix WUPB/REQB handling (Juergen Heinzl)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1429 e0336214-984f-0b4b-a45f-81c69e1f0ede
-rw-r--r--rfid_layer2_iso14443b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rfid_layer2_iso14443b.c b/rfid_layer2_iso14443b.c
index 1988827..c0930b2 100644
--- a/rfid_layer2_iso14443b.c
+++ b/rfid_layer2_iso14443b.c
@@ -112,7 +112,7 @@ send_reqb(struct rfid_layer2_handle *h, unsigned char afi,
num_slot_idx++) {
reqb[2] = num_slot_idx & 0x07;
if (is_wup)
- reqb[2] |= 0x80;
+ reqb[2] |= 0x08;
ret = h->rh->reader->transcieve(h->rh, reqb, sizeof(reqb),
(unsigned char *)&atqb,
personal git repositories of Harald Welte. Your mileage may vary