projects
/
platform
/
upstream
/
neard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2245936
)
tag: Set type B tag type properly
author
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 30 May 2013 16:09:50 +0000
(18:09 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 30 May 2013 16:09:50 +0000
(18:09 +0200)
When receiving a 14443-B protocol mask, we should set the tag type to
NFC-B.
src/tag.c
patch
|
blob
|
history
diff --git
a/src/tag.c
b/src/tag.c
index
54b7a9e
..
62923b1
100644
(file)
--- a/
src/tag.c
+++ b/
src/tag.c
@@
-566,6
+566,10
@@
static void set_tag_type(struct near_tag *tag,
tag->type = NFC_PROTO_FELICA;
break;
+ case NFC_PROTO_ISO14443_B_MASK:
+ tag->type = NFC_PROTO_ISO14443_B;
+ break;
+
default:
tag->type = NFC_PROTO_MAX;
break;