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:
3a73d90
)
type1: Fix missing disconnect on wrong Magic NFC tag
author
Olivier Guiter
<olivier.guiter@linux.intel.com>
Fri, 13 Jan 2012 14:05:23 +0000
(15:05 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sat, 14 Jan 2012 00:03:55 +0000
(
01:03
+0100)
plugins/nfctype1.c
patch
|
blob
|
history
diff --git
a/plugins/nfctype1.c
b/plugins/nfctype1.c
index
f1b4053
..
327ca89
100644
(file)
--- a/
plugins/nfctype1.c
+++ b/
plugins/nfctype1.c
@@
-265,8
+265,7
@@
static int meta_recv(uint8_t *resp, int length, void *data)
out_err:
if (err < 0 && cookie->cb) {
cookie->cb(cookie->adapter_idx, err);
- if (t1_tag)
- near_adapter_disconnect(t1_tag->adapter_idx);
+ near_adapter_disconnect(cookie->adapter_idx);
}
g_free(cookie);