projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a0f6f3
)
NFC: Call the DEP link down ops even when in target mode
author
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 21 May 2012 13:59:52 +0000
(15:59 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 4 Jun 2012 19:34:31 +0000
(21:34 +0200)
Even in target mode we need to let the driver know that we want to
bring the DEP link down.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/core.c
patch
|
blob
|
blame
|
history
diff --git
a/net/nfc/core.c
b/net/nfc/core.c
index 6a3799eebc30d6d671f17cf01902f48afbfce9a7..4177bb5104b9185f416bf4e549a304a0930069d6 100644
(file)
--- a/
net/nfc/core.c
+++ b/
net/nfc/core.c
@@
-268,11
+268,6
@@
int nfc_dep_link_down(struct nfc_dev *dev)
goto error;
}
- if (dev->rf_mode == NFC_RF_TARGET) {
- rc = -EOPNOTSUPP;
- goto error;
- }
-
rc = dev->ops->dep_link_down(dev);
if (!rc) {
dev->dep_link_up = false;
This page took
0.025404 seconds
and
5
git commands to generate.