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:
2e27396
)
nfctype4: Do not release target after a succesful tag write
author
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 29 Oct 2013 23:35:36 +0000
(
00:35
+0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 29 Oct 2013 23:35:36 +0000
(
00:35
+0100)
There is no reason for releasing a target after tag writing succeeded.
Especially since check presence still needs the link.
plugins/nfctype4.c
patch
|
blob
|
history
diff --git
a/plugins/nfctype4.c
b/plugins/nfctype4.c
index
4c599a7
..
349dd78
100644
(file)
--- a/
plugins/nfctype4.c
+++ b/
plugins/nfctype4.c
@@
-587,7
+587,6
@@
static int data_write_cb(uint8_t *resp, int length, void *data)
if (cookie->ndef->offset >= cookie->ndef->length) {
DBG("Done writing");
- near_adapter_disconnect(cookie->adapter_idx);
if (cookie->cb)
cookie->cb(cookie->adapter_idx, cookie->target_idx, 0);