summaryrefslogtreecommitdiff
path: root/plugins/npp.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-02-06 16:06:16 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-02-06 16:06:16 +0100
commit19bc15479fd108ddc5eb4edd7a452727ec5c7740 (patch)
treed9b15714c41f0dc0e7c87a215343903f6a2c2520 /plugins/npp.c
parentdb600b0055182972dbe2b353298f0d02e996cd50 (diff)
downloadneard-19bc15479fd108ddc5eb4edd7a452727ec5c7740.tar.gz
neard-19bc15479fd108ddc5eb4edd7a452727ec5c7740.tar.bz2
neard-19bc15479fd108ddc5eb4edd7a452727ec5c7740.zip
tlv: Simplify tlv parsing API
The parsing API should read the tag's data.
Diffstat (limited to 'plugins/npp.c')
-rw-r--r--plugins/npp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/npp.c b/plugins/npp.c
index 4178ac4..eea4ece 100644
--- a/plugins/npp.c
+++ b/plugins/npp.c
@@ -132,7 +132,7 @@ static int npp_read(int client_fd, uint32_t adapter_idx, uint32_t target_idx,
nfc_data = near_tag_get_data(tag, &tag_length);
memcpy(nfc_data, ndefs, total_ndef_length);
- near_tlv_parse(tag, cb, nfc_data, total_ndef_length);
+ near_tlv_parse(tag, cb);
g_free(ndefs);