summaryrefslogtreecommitdiffstats
path: root/net/nfc/core.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-05-21 15:59:52 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-06-04 21:34:31 +0200
commitcb3a4503f41f7f60bbc74a937bc30a0e143fc53c (patch)
tree3a62ad90af7694f22afeb8e7e2a3e284b7e8398f /net/nfc/core.c
parent5a0f6f3b46b28310262ad9585b80062ef56c5362 (diff)
downloadblackbird-op-linux-cb3a4503f41f7f60bbc74a937bc30a0e143fc53c.tar.gz
blackbird-op-linux-cb3a4503f41f7f60bbc74a937bc30a0e143fc53c.zip
NFC: Call the DEP link down ops even when in target mode
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>
Diffstat (limited to 'net/nfc/core.c')
-rw-r--r--net/nfc/core.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/nfc/core.c b/net/nfc/core.c
index 6a3799eebc30..4177bb5104b9 100644
--- 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;
OpenPOWER on IntegriCloud